username-sync
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -7,3 +7,4 @@ 'use strict'; | ||
module.exports = function() { | ||
return module.exports.os() || module.exports.env() || module.exports.execSync(); | ||
// sandbox environments may not always allow access to os.userInfo(), so prioritize env vars | ||
return module.exports.env() || module.exports.os() || module.exports.execSync(); | ||
}; | ||
@@ -58,2 +59,2 @@ | ||
} | ||
}; | ||
}; |
{ | ||
"name": "username-sync", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "username but only sync and for node 0.12", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
2493
48