Skip to content

Commit

Permalink
fix: add a blank line to be swallowed by the spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele committed Oct 13, 2023
1 parent 0b5e4bd commit 9813d41
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,12 @@ const mtime = async (f: string): Promise<Date> => (await stat(f)).mtime
const notUpdatable = (config: Config): boolean => {
if (!config.binPath) {
const instructions = config.scopedEnvVar('UPDATE_INSTRUCTIONS')
if (instructions) ux.warn(instructions)
if (instructions) {
ux.warn(instructions)
// once the spinner stops, it'll eat this blank line
ux.log()
}

return true
}

Expand Down

0 comments on commit 9813d41

Please sign in to comment.