Radarr/gulp/phantom.js

12 lines
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;