mirror of
https://github.com/rexlManu/pterodactyl-upload-action.git
synced 2025-02-03 21:46:40 -05:00
fix: config sources and servers are now getting overriden
This commit is contained in:
parent
ec6d295811
commit
5c95bee3f8
1 changed files with 3 additions and 2 deletions
|
@ -57,10 +57,11 @@ async function main() {
|
|||
);
|
||||
|
||||
sourcePath = sourcePath || config.source;
|
||||
sourceListPath = sourceListPath.length == 0 || config.sources;
|
||||
sourceListPath =
|
||||
sourceListPath.length == 0 ? config.sources : sourceListPath;
|
||||
targetPath = targetPath || config.target;
|
||||
serverIdInput = serverIdInput || config.server;
|
||||
serverIds = serverIds.length == 0 || config.servers;
|
||||
serverIds = serverIds.length == 0 ? config.servers : serverIds;
|
||||
}
|
||||
|
||||
// check if sourcePath and sourceListPath are both empty
|
||||
|
|
Loading…
Reference in a new issue