Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #114 from rvagg/logfd

npm logfd = 2 (stderr)
  • Loading branch information...
commit 0afe89bd63d39ac25943030ca8b87b6e51e911bf 2 parents 14af8ee + 04906ed
@ded ded authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/ender.npm.js
View
6 lib/ender.npm.js
@@ -111,7 +111,7 @@ ENDER.npm = module.exports = {
}
console.log('installing packages: "' + packages.join(' ') + '"...')
console.log('this can take a minute...'.yellow)
- npm.load({ logfd: null, outfd: 1 }, function (err) {
+ npm.load({ logfd: 2, outfd: 1 }, function (err) {
if (err) {
if (options.debug) throw err
return console.log('something went wrong trying to load npm!'.red)
@@ -150,7 +150,7 @@ ENDER.npm = module.exports = {
, uninstall: function (packages, callback) {
console.log('uninstalling ' + packages.join(' ').yellow)
- npm.load({ logfd: null, outfd: 1 }, function (err) {
+ npm.load({ logfd: 2, outfd: 1 }, function (err) {
if (err) {
callback(err)
return console.log('something went wrong trying to load npm!')
@@ -168,7 +168,7 @@ ENDER.npm = module.exports = {
, search: function (keywords, callback) {
console.log('searching NPM registry...'.grey)
- npm.load({ logfd: null, outfd: 1 }, function (err) {
+ npm.load({ logfd: 2, outfd: 1 }, function (err) {
if (err) {
callback(err)
return console.log('something went wrong trying to load npm!')
Please sign in to comment.
Something went wrong with that request. Please try again.