Created
June 27, 2023 20:21
-
-
Save sibelius/29f4e5ca9ab76cb18ff981450bc62e93 to your computer and use it in GitHub Desktop.
basic node script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const run = async () => { | |
}; | |
(async () => { | |
try { | |
await run(); | |
} catch (err) { | |
// eslint-disable-next-line | |
console.log(err); | |
process.exit(1); | |
} | |
process.exit(0); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment