diff --git a/lib/version-checker.js b/lib/version-checker.js index d8f92a0..038c036 100644 --- a/lib/version-checker.js +++ b/lib/version-checker.js @@ -9,7 +9,7 @@ VersionChecker.satisfies = function(versionSpecified, versionInstalled) { } var version = versionSpecified; - var isGitRepo = require('./git-repo'); + var isGitRepo = require('is-git-url'); var semver = require('semver'); if (version === '*') { diff --git a/package.json b/package.json index 647739b..0cdca4e 100644 --- a/package.json +++ b/package.json @@ -57,6 +57,7 @@ }, "dependencies": { "chalk": "^0.5.1", + "is-git-url": "^0.2.0", "semver": "^4.1.0" } }