mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-05 15:47:20 +02:00
Removed yargs dependency since it fails to install in windows
This commit is contained in:
parent
32d7da91b7
commit
8d85fb15c4
3
.gitignore
vendored
3
.gitignore
vendored
@ -119,6 +119,8 @@ wix/*.wixpdb
|
||||
setup/Output/
|
||||
*.~is
|
||||
|
||||
UI.Phantom/
|
||||
|
||||
#VS outout folders
|
||||
bin
|
||||
obj
|
||||
@ -127,3 +129,4 @@ output/*
|
||||
|
||||
#OS X metadata files
|
||||
._*
|
||||
|
||||
|
@ -1,10 +1,12 @@
|
||||
var args = require('yargs').argv;
|
||||
// Switch to phantom.
|
||||
// Example:
|
||||
// gulp --phantom
|
||||
|
||||
var phantom = !!args.phantom;
|
||||
|
||||
console.log('Phantom:', phantom);
|
||||
var phantom = false;
|
||||
process.argv.forEach(function (val, index, array) {
|
||||
if(val=== '--phantom'){
|
||||
phantom = true;
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = phantom;
|
@ -34,7 +34,6 @@
|
||||
"jshint-stylish": "1.0.0",
|
||||
"run-sequence": "1.0.2",
|
||||
"streamqueue": "0.1.1",
|
||||
"webpack": "1.5.3",
|
||||
"yargs": "^3.15.0"
|
||||
"webpack": "1.5.3"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user