pm2/test/fixtures/args.js
Peter Dave Hello 5c11598326 fix: remove trailing spaces
Most of the coding style guides ask to remove trailing spaces, also,
current .editorconfig has the same config.
2018-07-02 20:34:28 +08:00

10 lines
168 B
JavaScript

if (process.argv.indexOf('-d') == -1 || process.argv.indexOf('-a') == -1) {
process.exit();
} else {
setInterval(function() {
console.log('ok');
}, 500);
}