Delete unused packate "which" from package.json

This commit is contained in:
Andrew Grieve 2015-04-09 11:02:27 -04:00
parent 09ff81c411
commit b0d5ffec8f
2 changed files with 2 additions and 2 deletions

View File

@ -33,6 +33,7 @@ var isWindows = process.platform == 'win32';
function forgivingWhichSync(cmd) { function forgivingWhichSync(cmd) {
try { try {
// TODO: Should use shelljs.which() here to have one less dependency.
return fs.realpathSync(which.sync(cmd)); return fs.realpathSync(which.sync(cmd));
} catch (e) { } catch (e) {
return ''; return '';

View File

@ -21,8 +21,7 @@
"license": "Apache version 2.0", "license": "Apache version 2.0",
"dependencies": { "dependencies": {
"q": "^0.9.0", "q": "^0.9.0",
"shelljs": "^0.2.6", "shelljs": "^0.2.6"
"which": "^1.0.5"
}, },
"devDependencies": { "devDependencies": {
"jasmine-node": "^1.14.5", "jasmine-node": "^1.14.5",