Skip to content

Commit

Permalink
refactor: lint fix for files length check
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwinter committed Aug 26, 2021
1 parent c2ca369 commit a9fad49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const {owner, repo, tag, force, files} = cli.flags;

spinner.succeed(`A new draft release was created: ${releaseName}`);

if (files.length) {
if (files.length > 0) {
spinner = createSpinner('Uploading files to the draft release');

await readysteady.uploadFilesToDraftRelease({client, fs, owner, repo, release: newDraftRelease, files});
Expand Down

0 comments on commit a9fad49

Please sign in to comment.