Sonarr/frontend/gulp/helpers/phantom.js
Mark McDowall 5894b4fd95 v3 UI
2018-12-29 13:08:43 +01:00

10 lines
172 B
JavaScript

var phantom = false;
process.argv.forEach((val) => {
if (val === '--phantom') {
phantom = true;
}
});
console.log('Phantom:', phantom);
module.exports = phantom;