heroku-cli-util
Advanced tools
Comparing version 5.10.4 to 5.10.5
@@ -41,3 +41,3 @@ 'use strict'; | ||
this.frameIndex = ++this.frameIndex % frames.length; | ||
return `${this.text} ${frame}`; | ||
return frame; | ||
} | ||
@@ -55,4 +55,3 @@ | ||
render() { | ||
this.clear(); | ||
process.stderr.write(this.frame()); | ||
process.stderr.write('\b' + this.frame()); | ||
} | ||
@@ -62,6 +61,5 @@ | ||
if (this.id) return; | ||
if (!this.enabled) { | ||
console.writeError(this.text); | ||
return; | ||
} | ||
console.writeError(this.text); | ||
if (!this.enabled) return; | ||
console.writeError(' '); | ||
@@ -89,3 +87,6 @@ this.cursor.hide(); | ||
if (!this.enabled) { | ||
console.writeError('\n' + this.text); | ||
console.writeError(this.text); | ||
} else { | ||
this.clear(); | ||
process.stderr.write(this.text + ' '); | ||
} | ||
@@ -92,0 +93,0 @@ } |
{ | ||
"name": "heroku-cli-util", | ||
"version": "5.10.4", | ||
"version": "5.10.5", | ||
"description": "Set of helpful CLI utilities", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
386162
2557