Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Properly update npm to 1.1.0-3
Browse files Browse the repository at this point in the history
Thanks @mscdex for spotting this.
  • Loading branch information
isaacs committed Jan 27, 2012
1 parent ff0f0ae commit f98999c
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 5 deletions.
9 changes: 6 additions & 3 deletions deps/npm/lib/install.js
Expand Up @@ -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/..
Expand Down
44 changes: 44 additions & 0 deletions deps/npm/node_modules/graceful-fs/graceful-fs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions deps/npm/node_modules/graceful-fs/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f98999c

Please sign in to comment.