aboutsummaryrefslogtreecommitdiff
path: root/scripts/generateLocales.ts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/generateLocales.ts')
-rw-r--r--scripts/generateLocales.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/generateLocales.ts b/scripts/generateLocales.ts
index 36ca37c9..fcf2fa26 100644
--- a/scripts/generateLocales.ts
+++ b/scripts/generateLocales.ts
@@ -1,3 +1,5 @@
+#!/usr/bin/env node
+
/**
* This file contains a script that can be used to update the following files:
*
@@ -366,6 +368,7 @@ async function main(): Promise<void> {
}
main().catch((e) => {
+ // Workaround until top level await is available
console.error(e);
process.exit(1);
});