1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-25 17:27:59 +00:00
Radarr/gulp/phantom.js
2015-07-21 19:42:38 -07:00

14 lines
No EOL
247 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;