export CSV from mysql test

This commit is contained in:
Jan Prochazka
2020-06-04 11:18:46 +02:00
parent d05b319030
commit afbec02f3a
13 changed files with 185 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
async function runScript(func) {
try {
await func();
process.exit(0);
} catch (err) {
console.log(err);
process.exit(1);
}
}
module.exports = runScript;