Skip to content

Commit

Permalink
fix: add a blank line to be swallowed by the spinner (#646)
Browse files Browse the repository at this point in the history
* fix: add a blank line to be swallowed by the spinner

* docs: add issue comment
  • Loading branch information
WillieRuemmele authored Oct 13, 2023
1 parent 0b5e4bd commit 2caf5c7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,13 @@ 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
// https://github.com/oclif/core/issues/799
ux.log()
}

return true
}

Expand Down

0 comments on commit 2caf5c7

Please sign in to comment.