diff options
author | isaacs <i@izs.me> | 2012-04-17 17:14:25 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-04-18 09:36:40 -0700 |
commit | c8bbd13ea8d692f9f28f69cbb7ff321d7b998126 (patch) | |
tree | fb7074902b3332d2179c1e461277ada29016b531 /deps/npm/lib/bugs.js | |
parent | d8b33dc14787213a47a0f10f37137ec476d92952 (diff) | |
download | android-node-v8-c8bbd13ea8d692f9f28f69cbb7ff321d7b998126.tar.gz android-node-v8-c8bbd13ea8d692f9f28f69cbb7ff321d7b998126.tar.bz2 android-node-v8-c8bbd13ea8d692f9f28f69cbb7ff321d7b998126.zip |
Upgrade npm to 1.1.17
Diffstat (limited to 'deps/npm/lib/bugs.js')
-rw-r--r-- | deps/npm/lib/bugs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/lib/bugs.js b/deps/npm/lib/bugs.js index a3a017cc02..7982746cfb 100644 --- a/deps/npm/lib/bugs.js +++ b/deps/npm/lib/bugs.js @@ -28,7 +28,7 @@ function bugs (args, 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 && repo.match(/^(https?:\/\/|git(:\/\/|@))github.com/)) { return open(repo.replace(/^git(@|:\/\/)/, "http://") |