diff options
author | isaacs <i@izs.me> | 2012-05-27 05:06:03 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-05-27 05:06:03 +0400 |
commit | ca155830738c139ca7b607f765f64ff0ee0dadda (patch) | |
tree | 4c13e460ff48ce7f96459ac2a8983089e7ca505c | |
parent | 5f5db67f6808b1f587243487e717752736d0b86a (diff) |
Fix #2453: ssh is not always the default git transport
-rw-r--r-- | lib/cache.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/cache.js b/lib/cache.js index b62e82dd1..706d7f883 100644 --- a/lib/cache.js +++ b/lib/cache.js @@ -298,7 +298,6 @@ function addRemoteGit (u, parsed, name, cb_) { var co = parsed.hash && parsed.hash.substr(1) || "master" u = u.replace(/^git\+/, "") .replace(/#.*$/, "") - .replace(/^ssh:\/\//, "") // ssh is the default anyway log.verbose([u, co], "addRemoteGit") var tmp = path.join(npm.tmp, Date.now()+"-"+Math.random()) |