linter
This commit is contained in:
parent
95b8c14b89
commit
ab670d08e7
1 changed files with 3 additions and 3 deletions
6
dev.js
6
dev.js
|
|
@ -1,6 +1,6 @@
|
|||
const { exec } = require('child_process')
|
||||
const { exec } = require('child_process');
|
||||
const path = require('path');
|
||||
const toRun = process.argv.slice(2).join(" ").split('---');
|
||||
const toRun = process.argv.slice(2).join(' ').split('---');
|
||||
|
||||
const waitForProcess = async (proc) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
|
@ -16,6 +16,6 @@ const waitForProcess = async (proc) => {
|
|||
for (let command of toRun) {
|
||||
await waitForProcess(exec(`node index.js --service crunchy ${command}`, {
|
||||
cwd: path.join(__dirname, 'lib')
|
||||
}))
|
||||
}));
|
||||
}
|
||||
})();
|
||||
Loading…
Reference in a new issue