Comparing version 0.0.16 to 0.0.17
@@ -125,3 +125,7 @@ var chalk = require("chalk"); | ||
process.stdout.write(chalk[color](prepend + String(raw.toFixed(this.precision)) + append)); | ||
if (raw === null) { | ||
process.stdout.write(chalk.red(prepend + "null" + append)); | ||
} else { | ||
process.stdout.write(chalk[color](prepend + String(raw.toFixed(this.precision)) + append)); | ||
} | ||
@@ -128,0 +132,0 @@ // Move the cursor to the end and make it visible again |
{ | ||
"name": "barcli", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "A simple tool for displaying real time bar graphs in the console", | ||
@@ -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
10488
122