Skip to content

Commit

Permalink
#107 🐛 Wait for TSX/TS WASMS to load
Browse files Browse the repository at this point in the history
  • Loading branch information
sansarip committed May 30, 2023
1 parent c443049 commit 73bfaa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ts/extension/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const loadWasms = async (context: vscode.ExtensionContext) => {
}

try {
ob.loadLanguageWasm(
await ob.loadLanguageWasm(
ob.tsxLangId,
`${context.extensionPath}/resources/tree-sitter-tsx.wasm`
);
Expand All @@ -34,7 +34,7 @@ const loadWasms = async (context: vscode.ExtensionContext) => {
}

try {
ob.loadLanguageWasm(
await ob.loadLanguageWasm(
ob.tsLangId,
`${context.extensionPath}/resources/tree-sitter-typescript.wasm`
);
Expand Down

0 comments on commit 73bfaa5

Please sign in to comment.