chore: automated housekeeping...

This commit is contained in:
Pieter Vander Vennet 2025-08-13 23:06:38 +02:00
parent 9cd7ad597d
commit 69ab755f29
520 changed files with 16616 additions and 13483 deletions

View file

@ -16,7 +16,11 @@ export default abstract class Script {
const start = new Date()
this.main(args)
.catch((e) => {
console.log(`ERROR in script ${process.argv[1]}:`, e)
let scriptName = process.argv[1]
if (scriptName.endsWith("vite-node")) {
scriptName = process.argv[2]
}
console.log(`ERROR in script ${scriptName}:`, e)
process.exit(1)
})
.then(() => {