ui: new judge config (#533)

Co-authored-by: panda <panda_dtdyy@outlook.com>
This commit is contained in:
undefinedandpanda authored and GitHub committed 2023-03-15 21:15:04 +08:00
1 parent f4d8cd7a5d
commit 85cb1d6dff
26 files changed
+910 -222

No files matched your search

+2 -2
View File
@@ -87,11 +87,11 @@ async function runWebpack({
}
async function runGulp() {
function handleError(err) {
function errorHandler(err) {
log(chalk.red('Error: %s'), chalk.reset(err.toString() + err.stack));
process.exit(1);
}
const gulpTasks = gulpConfig({ production: true, errorHandler: handleError });
const gulpTasks = gulpConfig({ errorHandler });
return new Promise((resolve) => {
const taskList = {};