aboutsummaryrefslogtreecommitdiff
path: root/dev/util.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2024-02-20 10:11:02 -0500
committerGitHub <noreply@github.com>2024-02-20 15:11:02 +0000
commit088c6c17ac7b6076604fd3bc40287d4afda0d940 (patch)
tree2a6d78a18fccad1347a87bf838e79e99fba90c39 /dev/util.js
parent2da866f982930c76d2317a3be426410683ecf5a2 (diff)
Remove testMain (#711)
Diffstat (limited to 'dev/util.js')
-rw-r--r--dev/util.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/dev/util.js b/dev/util.js
index 817b0d84..5a4c5788 100644
--- a/dev/util.js
+++ b/dev/util.js
@@ -92,16 +92,3 @@ export function createDictionaryArchive(dictionaryDirectory, dictionaryName) {
// Return zipFileBlob;
}
-
-/**
- * @param {(...args: import('core').SafeAny[]) => (unknown|Promise<unknown>)} func
- * @param {...import('core').SafeAny} args
- */
-export async function testMain(func, ...args) {
- try {
- await func(...args);
- } catch (e) {
- console.log(e);
- process.exit(-1);
- }
-}