assert-warning
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -7,3 +7,3 @@ module.exports = function(condition) { | ||
var msg = 'Assertion-Error'+(prod?'[prod]':'[dev]')+': '+condition+'!=true'; | ||
var msgs = Array.slice.call(arguments, 1); | ||
var msgs = [].slice.call(arguments, 1); | ||
for(var i in msgs) { | ||
@@ -10,0 +10,0 @@ msg += '\n'+msgs[i]; |
{ | ||
"name": "assert-warning", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Assert that doesn't stop execution in production", | ||
"main": "index.js" | ||
} |
@@ -1,2 +0,2 @@ | ||
I assail my code with assertions and sometimes an assertion is wrong and the code itself is fine. | ||
I assail my code with assertions and sometimes an assertion is wrong while the code itself is fine. | ||
@@ -3,0 +3,0 @@ |
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
7953