Skip to content

Commit

Permalink
Fix ora spinner in CI environments
Browse files Browse the repository at this point in the history
Fixes #1711
  • Loading branch information
devongovett committed Jul 11, 2018
1 parent 3b579a8 commit 8670fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Logger.js
Expand Up @@ -127,7 +127,7 @@ class Logger {
this.spinner = ora({
text: styledMessage,
stream: process.stdout,
enabled: !this.isTest
enabled: this.isTest ? false : undefined // fall back to ora default unless we need to explicitly disable it.
}).start();
} else {
this.spinner.text = styledMessage;
Expand Down

0 comments on commit 8670fd6

Please sign in to comment.