heroku-cli-util
Advanced tools
Comparing version 6.0.6 to 6.0.7
@@ -32,3 +32,3 @@ 'use strict' | ||
if (!this.enabled) { | ||
this.stream.write(this.text) | ||
console.writeError(this.text) | ||
return | ||
@@ -44,3 +44,3 @@ } | ||
stop (status) { | ||
if (status && !this.enabled) this.stream.write(` ${status}\n`) | ||
if (status && !this.enabled) console.error(` ${status}`) | ||
if (!this.enabled) return | ||
@@ -60,3 +60,3 @@ if (status) this._status = status | ||
if (!this.enabled) { | ||
this.stream.write(color.yellow(' !') + '\n' + errors.renderWarning(msg) + '\n' + this.text) | ||
console.writeError(color.yellow(' !') + '\n' + errors.renderWarning(msg) + '\n' + this.text) | ||
} else { | ||
@@ -75,3 +75,3 @@ this.warnings.push(msg) | ||
if (this.enabled) this._render() | ||
else this.stream.write(` ${this.status}\n${this.text}`) | ||
else console.writeError(` ${this.status}\n${this.text}`) | ||
} | ||
@@ -78,0 +78,0 @@ |
{ | ||
"name": "heroku-cli-util", | ||
"description": "Set of helpful CLI utilities", | ||
"version": "6.0.6", | ||
"version": "6.0.7", | ||
"author": "Jeff Dickey (@dickeyxxx)", | ||
@@ -6,0 +6,0 @@ "bugs": { |
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
229361