sonarr-repo-only/gulp/phantom.js

12 lines
209 B
JavaScript
Raw Normal View History

2015-07-18 18:50:16 +00:00
// Switch to phantom.
// Example:
// gulp --phantom
var phantom = false;
process.argv.forEach(function (val, index, array) {
if(val=== '--phantom'){
phantom = true;
}
});
2015-07-18 18:50:16 +00:00
module.exports = phantom;