heroku-cli-util
Advanced tools
Comparing version 1.3.0 to 1.4.0
function Console () {} | ||
Console.prototype.log = function () { | ||
if (this.mocking) { | ||
this.stdout += Array.prototype.slice.call(arguments, 0).join() + '\n'; | ||
} else { | ||
console.log.apply(this, arguments); | ||
} | ||
}; | ||
Console.prototype.error = function () { | ||
@@ -12,3 +19,4 @@ if (this.mocking) { | ||
this.stderr = ''; | ||
this.stdout = ''; | ||
}; | ||
module.exports = new Console(); |
{ | ||
"name": "heroku-cli-util", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Set of helpful CLI utilities", | ||
@@ -5,0 +5,0 @@ "main": "cli.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
6085
159