diff --git a/bin/lib/check_reqs.js b/bin/lib/check_reqs.js index dd2c7527..92ddc19a 100644 --- a/bin/lib/check_reqs.js +++ b/bin/lib/check_reqs.js @@ -33,6 +33,7 @@ var isWindows = process.platform == 'win32'; function forgivingWhichSync(cmd) { try { + // TODO: Should use shelljs.which() here to have one less dependency. return fs.realpathSync(which.sync(cmd)); } catch (e) { return ''; diff --git a/package.json b/package.json index da20627f..cf96181e 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,7 @@ "license": "Apache version 2.0", "dependencies": { "q": "^0.9.0", - "shelljs": "^0.2.6", - "which": "^1.0.5" + "shelljs": "^0.2.6" }, "devDependencies": { "jasmine-node": "^1.14.5",