Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorForrest L Norvell <forrest@npmjs.com>2014-07-02 10:10:44 +0400
committerForrest L Norvell <forrest@npmjs.com>2014-07-02 10:10:44 +0400
commiteef4884d6487ee029813e60a5f9c54e67925d9fa (patch)
tree6c22209102e0d57031c9d9aea102e9b2d40c598d
parent86e1f8f3cd85d1e0b476fd54cf597e8119f0dfbc (diff)
use parsed spec instead of name for github
-rw-r--r--lib/cache.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cache.js b/lib/cache.js
index b0b309843..6887c66ed 100644
--- a/lib/cache.js
+++ b/lib/cache.js
@@ -270,7 +270,7 @@ function add (args, cb) {
addRemoteGit(p.spec, false, cb)
break
case "github":
- maybeGithub(p.name, cb)
+ maybeGithub(p.spec, cb)
break
default:
if (p.name) return addNamed(p.name, p.spec, null, cb)