mirror of
https://github.com/Sonarr/Sonarr
synced 2025-02-22 14:11:16 +00:00
12 lines
No EOL
209 B
JavaScript
12 lines
No EOL
209 B
JavaScript
// Switch to phantom.
|
|
// Example:
|
|
// gulp --phantom
|
|
|
|
var phantom = false;
|
|
process.argv.forEach(function (val, index, array) {
|
|
if(val=== '--phantom'){
|
|
phantom = true;
|
|
}
|
|
});
|
|
|
|
module.exports = phantom; |