update interface

This commit is contained in:
undefined committed 2020-09-26 18:49:13 +08:00
1 parent 03d199fe9d
commit aa93512298
3 files changed
+6 -10

No files matched your search

+2 -6
View File
@@ -64,10 +64,6 @@ fs.writeFileSync(path.resolve(process.cwd(), 'tsconfig.json'), JSON.stringify(co
if (argv.watch) {
child.execSync('./node_modules/.bin/tsc -b --watch', { stdio: 'inherit' });
} else {
let result;
try {
result = child.execSync('./node_modules/.bin/tsc -b', { stdio: 'inherit' });
} catch (e) {
result = child.execSync('./node_modules/.bin/tsc -b', { stdio: 'inherit' });
}
child.execSync('cd packages/hydrooj && yarn build', { stdio: 'inherit' });
child.execSync('./node_modules/.bin/tsc -b', { stdio: 'inherit' });
}