Comparing version 1.4.0 to 1.4.1
@@ -26,3 +26,4 @@ const chalk = require('chalk') | ||
const error = (err, options = { exit: true, silent: false, label }) => { | ||
const error = (err, options) => { | ||
if (!options) options = { exit: true, silent: false, label } | ||
print('error', options.label || 'ERROR', err) | ||
@@ -29,0 +30,0 @@ if (options.silent) process.exit(1) |
{ | ||
"name": "prettycli", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Pretty print messages on the terminal", | ||
@@ -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
72901
27