Skip to content

Commit f4ad53f

Browse files
committed
fix TLA issue
1 parent fd933d9 commit f4ad53f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎src/preload.ts‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// Assure that `main.ts` is imported after locale loader initialized.
44

55
import { initLocaleLoader } from "monaco-editor-wrapper/vscode/locale";
6-
await initLocaleLoader();
7-
await import("./main.ts");
86

7+
(async () => {
8+
await initLocaleLoader();
9+
await import("./main.ts");
10+
})();

0 commit comments

Comments
 (0)