aboutsummaryrefslogtreecommitdiff
path: root/test/dictionary-validate.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-17 22:30:16 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-17 22:30:16 -0500
commit7cbebf6897efb32c80c5e258f594d18861974bad (patch)
treea48e3ceed23af182bc25b07d1d01af0e5e23fb27 /test/dictionary-validate.js
parent174d9e7429a0f7a45538e56a594ce627239d80c3 (diff)
Update how main is invoked
Diffstat (limited to 'test/dictionary-validate.js')
-rw-r--r--test/dictionary-validate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dictionary-validate.js b/test/dictionary-validate.js
index 971c4971..dca3bcf5 100644
--- a/test/dictionary-validate.js
+++ b/test/dictionary-validate.js
@@ -87,4 +87,4 @@ async function main() {
}
-main();
+if (require.main === module) { main(); }