Skip to content

Commit

Permalink
Tighter command check
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed Jun 7, 2024
1 parent c2c320e commit 0f9d41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default async function getConfig(command, flags) {
return {
apiConfig,
zipPath: await findSource(flags.source),
isUpload: command !== 'publish',
isUpload: command === 'upload' || !command,
isPublish: command === 'publish',
autoPublish: flags.autoPublish || !command,
trustedTesters: flags.trustedTesters,
Expand Down

0 comments on commit 0f9d41c

Please sign in to comment.