Skip to content

Commit 2d0f696

Browse files
authored
fix await that has no effect (#483)
Signed-off-by: Yan Zhang <[email protected]>
1 parent d35552a commit 2d0f696

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ext-guide/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ async function initializeJavaExtGuideView(context: vscode.ExtensionContext, webv
4444
});
4545
} else if (e.command === "installExtensions") {
4646
const extNames = <string[]>e.extNames;
47-
await extNames.map(extName => {
47+
await Promise.all(extNames.map(async extName => {
4848
return vscode.commands.executeCommand("java.helper.installExtension", extName, extName);
49-
});
49+
}));
5050
}
5151
}));
5252

0 commit comments

Comments
 (0)