Add code quality test, remove all constructor.name entries as they are unreadable after minification
This commit is contained in:
parent
312dbe7aff
commit
1c418e5a49
15 changed files with 95 additions and 52 deletions
|
@ -458,11 +458,13 @@ export async function main(args: string[]) {
|
|||
|
||||
|
||||
let args = [...process.argv]
|
||||
args.splice(0, 2)
|
||||
try {
|
||||
main(args)
|
||||
.then(() => console.log("All done!"))
|
||||
.catch(e => console.error("Error building cache:", e));
|
||||
} catch (e) {
|
||||
console.error("Error building cache:", e)
|
||||
}
|
||||
if (!args[1]?.endsWith("test/TestAll.ts")) {
|
||||
args.splice(0, 2)
|
||||
try {
|
||||
main(args)
|
||||
.then(() => console.log("All done!"))
|
||||
.catch(e => console.error("Error building cache:", e));
|
||||
} catch (e) {
|
||||
console.error("Error building cache:", e)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue