forked from MapComplete/MapComplete
chore: automated housekeeping...
This commit is contained in:
parent
9cd7ad597d
commit
69ab755f29
520 changed files with 16616 additions and 13483 deletions
|
@ -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(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue