cleaner-node
Advanced tools
Comparing version 0.5.6 to 0.5.7
{ | ||
"name": "cleaner-node", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"description": "Helpful utilities and scripts to make Node projects more legible and easier for the next developer to take over.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -17,2 +17,9 @@ const constants = require('./constants'); | ||
if (typeof errorOrMessage === 'number' && typeof status === 'string') { | ||
const num = errorOrMessage; | ||
const msg = status; | ||
status = num; | ||
errorOrMessage = msg; | ||
} | ||
const message = (typeof errorOrMessage === 'string') | ||
@@ -19,0 +26,0 @@ ? errorOrMessage |
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
58235
1476