Skip to content

Commit

Permalink
Fix regression with stopAndPersist output (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfreebern authored and sindresorhus committed Apr 2, 2019
1 parent 76828e8 commit 63eb1e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class Ora {
const fullText = (typeof text === 'string') ? ' ' + text : '';

this.stop();
this.stream.write(`${fullPrefixText}${options.symbol || ' '}${fullText}n`);
this.stream.write(`${fullPrefixText}${options.symbol || ' '}${fullText}\n`);

return this;
}
Expand Down

0 comments on commit 63eb1e9

Please sign in to comment.