Skip to content

Commit 59001b3

Browse files
committed
fix
1 parent ed31da7 commit 59001b3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/dictionary/soft-build.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
// this code is Deno only
22

33
import { exists } from "@std/fs/exists";
4+
import { Parser } from './parallel_parser.ts'
45

56
if (import.meta.main) {
7+
using parser = new Parser();
68
if (!await exists(new URL("./global_dictionary.ts", import.meta.url))) {
79
const Dictionary = await import("./build.ts");
8-
if (!await Dictionary.build()) {
10+
if (!await Dictionary.build(parser)) {
911
await Dictionary.buildWithDictionary(new Map());
1012
// deno-lint-ignore no-console
1113
console.error(

0 commit comments

Comments
 (0)