Comparing version 0.3.1 to 0.3.2
@@ -14,5 +14,6 @@ var defaults = ['test', 'devel', 'stage', 'production']; | ||
function dset(val) { | ||
var value = this.value; | ||
var value = '' + this.value; | ||
if(this(val)) { | ||
process.env.NODE_ENV = val; | ||
this.current = val; | ||
return function revert() { | ||
@@ -128,2 +129,5 @@ process.env.NODE_ENV = value; | ||
// current value | ||
query.current = query.value; | ||
// initial value validity | ||
@@ -130,0 +134,0 @@ query.valid = Boolean(query()); |
{ | ||
"name": "nenv", | ||
"description": "Utility for managing node development environments", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"author": "muji <noop@xpm.io>", | ||
@@ -6,0 +6,0 @@ "main": "lib/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
12094
155