mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-27 02:07:41 +00:00
14 lines
No EOL
254 B
JavaScript
14 lines
No EOL
254 B
JavaScript
// Switch to phantom.
|
|
// Example:
|
|
// gulp --phantom
|
|
|
|
var phantom = false;
|
|
process.argv.forEach(function(val, index, array) {
|
|
if (val === '--phantom') {
|
|
phantom = true;
|
|
}
|
|
});
|
|
|
|
console.log('Phantom:', phantom);
|
|
|
|
module.exports = phantom; |