Skip to content

Commit

Permalink
Fix undefined in spinner text
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Jul 22, 2024
1 parent 66fdab5 commit 79d3789
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/git/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ async function main(state, argv, cli, dir) {
'Username was undefined - do you have your .ncurc set up correctly?');
return;
} else if (releasers.every(r => r.login !== release.username)) {
cli.stopSpinner();
cli.error(`${release.username} is not a Releaser`);
cli.stopSpinner(`${release.username} is not a Releaser`, 'failed');
if (!argv.dryRun) {
throw new Error('aborted');
}
Expand Down

0 comments on commit 79d3789

Please sign in to comment.