@@ -2809,25 +2805,6 @@ export async function generate_types(task, opts) {
...
@@ -2809,25 +2805,6 @@ export async function generate_types(task, opts) {
}
}
}
}
exportasyncfunctioncheck_error_codes(task,opts){
try{
awaitexeca.command('pnpm -w run check-error-codes',{
stdio:'inherit',
})
}catch(err){
if(process.env.CI){
awaitexeca.command(
'echo check_error_codes FAILED: There are new errors introduced but no corresponding error codes are found in errors.json file, so make sure you run `pnpm build` or `pnpm update-error-codes` and then commit the change in errors.json.',