Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Properly update npm to 1.1.0-3

Thanks @mscdex for spotting this.
  • Loading branch information...
isaacs committed Jan 27, 2012
1 parent ff0f0ae commit f98999cc166918807aa8e06c26c5a15e4e353df5
@@ -75,12 +75,15 @@ function install (args, cb_) {
output = output || require("./utils/output.js")

var tree = treeify(installed)
, pretty = prettify(tree, installed)
, pretty = prettify(tree, installed).trim()

output.write(pretty, function (er) {
if (pretty) output.write(pretty, afterWrite)
else afterWrite()

function afterWrite (er) {
if (er) return cb_(er)
save(where, installed, tree, pretty, cb_)
})
}
}

// the /path/to/node_modules/..

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

0 comments on commit f98999c

Please sign in to comment.
You can’t perform that action at this time.