mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Removed yargs dependency since it fails to install in windows
This commit is contained in:
@@ -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;
|
Reference in New Issue
Block a user