mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-01 02:12:58 +08:00
Delete unused packate "which" from package.json
This commit is contained in:
parent
09ff81c411
commit
b0d5ffec8f
@ -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 '';
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user