summaryrefslogtreecommitdiff
path: root/deps/npm/lib/utils/is-git-url.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/lib/utils/is-git-url.js')
-rw-r--r--deps/npm/lib/utils/is-git-url.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/deps/npm/lib/utils/is-git-url.js b/deps/npm/lib/utils/is-git-url.js
deleted file mode 100644
index 7ded4b602..000000000
--- a/deps/npm/lib/utils/is-git-url.js
+++ /dev/null
@@ -1,13 +0,0 @@
-module.exports = isGitUrl
-
-function isGitUrl (url) {
- switch (url.protocol) {
- case "git:":
- case "git+http:":
- case "git+https:":
- case "git+rsync:":
- case "git+ftp:":
- case "git+ssh:":
- return true
- }
-}