diff options
| author | ST-DDT <[email protected]> | 2023-10-09 18:06:42 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-09 16:06:42 +0000 |
| commit | 72bf57d9dfe6569f595e64441e02feb8d5d3165f (patch) | |
| tree | 294d0c8aeea90fc358b1b340ee56be212fcd5519 /scripts/generateLocales.ts | |
| parent | a1ec9298ed2f543e59957fcc5b08a80a81a526e0 (diff) | |
| download | faker-72bf57d9dfe6569f595e64441e02feb8d5d3165f.tar.xz faker-72bf57d9dfe6569f595e64441e02feb8d5d3165f.zip | |
infra(unicorn): use hashbang for scripts (#2448)
Diffstat (limited to 'scripts/generateLocales.ts')
| -rw-r--r-- | scripts/generateLocales.ts | 3 |
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); }); |
