mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Remove stderr from the exec error check in post-install.js. [closes #101]
Former-commit-id: eecd66ffe3bce1bd6ef0261140bd634567ec60ae
This commit is contained in:
@@ -76,8 +76,8 @@
|
|||||||
|
|
||||||
/*--------------------------------------------------------------------------*/
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
exec('npm -g root', function(exception, stdout, stderr) {
|
exec('npm -g root', function(exception, stdout) {
|
||||||
if (exception || stderr) {
|
if (exception) {
|
||||||
console.error('There was a problem loading the npm registry.');
|
console.error('There was a problem loading the npm registry.');
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user