diff options
author | isaacs <i@izs.me> | 2014-05-15 04:06:39 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2014-05-15 04:06:39 +0400 |
commit | 1e24837688308266c00e379cdbb8aeae85dd717f (patch) | |
tree | 8671eabfe43c24be1ebb38a1e32ae4a87c066bb6 /lib/cache.js | |
parent | 99a57f4157af76d581302fccac956eafac13c844 (diff) |
addRemoteTarball: Pass data, not name/ver
Diffstat (limited to 'lib/cache.js')
-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 63862ce2e..53f4c341f 100644 --- a/lib/cache.js +++ b/lib/cache.js @@ -256,7 +256,7 @@ function add (args, cb) { switch (p.protocol) { case "http:": case "https:": - return addRemoteTarball(spec, null, name, "", cb) + return addRemoteTarball(spec, null, { name: name }, cb) default: if (isGitUrl(p)) return addRemoteGit(spec, p, false, cb) |