diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2014-07-02 10:10:44 +0400 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2014-07-02 10:10:44 +0400 |
commit | eef4884d6487ee029813e60a5f9c54e67925d9fa (patch) | |
tree | 6c22209102e0d57031c9d9aea102e9b2d40c598d | |
parent | 86e1f8f3cd85d1e0b476fd54cf597e8119f0dfbc (diff) |
use parsed spec instead of name for github
-rw-r--r-- | lib/cache.js | 2 |
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) |