mirror of
https://github.com/rexlManu/pterodactyl-upload-action.git
synced 2025-02-03 13:36:41 -05:00
fix: Fix empty sourceListPath when config.sources is empty
This commit is contained in:
parent
5c95bee3f8
commit
6a5c6094e5
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ 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;
|
||||
|
|
Loading…
Reference in a new issue