Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bin/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ Run ${chalk.inverse.hex(NETLIFY_CYAN_HEX)('{updateCommand}')} to update`
try {
await runProgram(program, argv)

program.onEnd()
await program.onEnd()
} catch (error) {
program.onEnd(error)
await program.onEnd(error)
}
}

Expand Down
2 changes: 2 additions & 0 deletions src/commands/base-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,8 @@ export default class BaseCommand extends Command {
logError(error_ instanceof Error ? error_ : format(error_))
exit(1)
}

exit()
}

async authenticate(tokenFromFlag?: string) {
Expand Down
Loading