diff --git a/index.js b/index.js index bf62f8e..99cd5af 100644 --- a/index.js +++ b/index.js @@ -251,7 +251,9 @@ class Ora { } if (!this.isEnabled) { - this.stream.write(`- ${this.text}\n`); + if (this.text) { + this.stream.write(`- ${this.text}\n`); + } return this; }