Skip to content

Instantly share code, notes, and snippets.

@sibelius
Created June 27, 2023 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sibelius/29f4e5ca9ab76cb18ff981450bc62e93 to your computer and use it in GitHub Desktop.
Save sibelius/29f4e5ca9ab76cb18ff981450bc62e93 to your computer and use it in GitHub Desktop.
basic node script
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