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