diff options
author | isaacs <i@izs.me> | 2012-05-05 22:33:06 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-05-05 22:33:12 -0700 |
commit | 33a9ac6087732da48e7d12ea7f7fbb41926fe46c (patch) | |
tree | a914e333e80a3401ce8726355b38f1d636500cb5 /deps/npm/lib/docs.js | |
parent | 1858d1c340ca2631e28a32eb542c85ee8f725cac (diff) | |
download | node-new-33a9ac6087732da48e7d12ea7f7fbb41926fe46c.tar.gz |
Upgrade npm to 1.1.21
Somehow this got downgraded in the last v0.6 merge. Very strange.
Diffstat (limited to 'deps/npm/lib/docs.js')
-rw-r--r-- | deps/npm/lib/docs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/lib/docs.js b/deps/npm/lib/docs.js index de9f71c654..8af4c1bb66 100644 --- a/deps/npm/lib/docs.js +++ b/deps/npm/lib/docs.js @@ -25,7 +25,7 @@ function docs (args, cb) { if (homepage) return open(homepage, cb) if (repo) { if (Array.isArray(repo)) repo = repo.shift() - if (repo.url) repo = repo.url + if (repo.hasOwnProperty("url")) repo = repo.url log.verbose(repo, "repository") if (repo) { return open(repo.replace(/^git(@|:\/\/)/, 'http://') |