Permalink
Browse files

Merge pull request #114 from rvagg/logfd

npm logfd = 2 (stderr)
  • Loading branch information...
2 parents 14af8ee + 04906ed commit 0afe89bd63d39ac25943030ca8b87b6e51e911bf @ded ded committed Jan 12, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/ender.npm.js
View
@@ -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!')

0 comments on commit 0afe89b

Please sign in to comment.