We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed31da7 commit 59001b3Copy full SHA for 59001b3
1 file changed
src/dictionary/soft-build.ts
@@ -1,11 +1,13 @@
1
// this code is Deno only
2
3
import { exists } from "@std/fs/exists";
4
+import { Parser } from './parallel_parser.ts'
5
6
if (import.meta.main) {
7
+ using parser = new Parser();
8
if (!await exists(new URL("./global_dictionary.ts", import.meta.url))) {
9
const Dictionary = await import("./build.ts");
- if (!await Dictionary.build()) {
10
+ if (!await Dictionary.build(parser)) {
11
await Dictionary.buildWithDictionary(new Map());
12
// deno-lint-ignore no-console
13
console.error(
0 commit comments