diff options
Diffstat (limited to 'deps/npm/lib/cache/add-remote-git.js')
-rw-r--r-- | deps/npm/lib/cache/add-remote-git.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/lib/cache/add-remote-git.js b/deps/npm/lib/cache/add-remote-git.js index 5fbd8dbeda..d8f64a85be 100644 --- a/deps/npm/lib/cache/add-remote-git.js +++ b/deps/npm/lib/cache/add-remote-git.js @@ -443,7 +443,7 @@ function getResolved (uri, treeish) { // Checks for known protocols: // http:, https:, ssh:, and git:, with optional git+ prefix. if (!parsed.protocol || - !parsed.protocol.match(/^(((git\+)?(https?|ssh))|git|file):$/)) { + !parsed.protocol.match(/^(((git\+)?(https?|ssh|file))|git|file):$/)) { uri = 'git+ssh://' + uri } |