Skip to content

Commit 80c10d3

Browse files
committed
Await executeCommand in launch
1 parent 6342090 commit 80c10d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/features/PesterTests.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export class PesterTestsFeature implements vscode.Disposable {
128128
private async launch(launchConfig): Promise<boolean> {
129129
// Create or show the interactive console
130130
// TODO: #367 Check if "newSession" mode is configured
131-
vscode.commands.executeCommand("PowerShell.ShowSessionConsole", true);
131+
await vscode.commands.executeCommand("PowerShell.ShowSessionConsole", true);
132132

133133
// Write out temporary debug session file
134134
await this.sessionManager.writeSessionFile(

src/features/RunCode.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class RunCodeFeature implements vscode.Disposable {
4040

4141
private async launch(launchConfig: string | vscode.DebugConfiguration) {
4242
// Create or show the interactive console
43-
// TODO #367: Check if "newSession" mode is configured
43+
// TODO: #367: Check if "newSession" mode is configured
4444
await vscode.commands.executeCommand("PowerShell.ShowSessionConsole", true);
4545

4646
// Write out temporary debug session file

0 commit comments

Comments
 (0)