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>2015-02-27 12:51:33 +0300
committerForrest L Norvell <forrest@npmjs.com>2015-02-27 12:51:33 +0300
commit0f87f5ed28960d962f34977953561d22983da4f9 (patch)
treeea559c99fdd0a8eccbe026b0bd5634c75b86f5cb
parenta2e04bd921feab8f9e40a27e180ca9308eb709d7 (diff)
cache: add-remote-git expects no 'git+' on URLs
-rw-r--r--lib/cache/maybe-github.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cache/maybe-github.js b/lib/cache/maybe-github.js
index 5ecdb6915..e24099115 100644
--- a/lib/cache/maybe-github.js
+++ b/lib/cache/maybe-github.js
@@ -11,7 +11,7 @@ module.exports = function maybeGithub (p, cb) {
return addRemoteGit(u, true, function (er, data) {
if (er) {
- var upriv = "git+ssh://git@github.com:" + p
+ var upriv = "ssh://git@github.com:" + p
log.info("maybeGithub", "Attempting %s from %s", p, upriv)
return addRemoteGit(upriv, false, function (er, data) {