Skip to content

Commit dd37ed5

Browse files
committed
Fix review comment
1 parent 8e81804 commit dd37ed5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/utilities/debug.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,6 @@ export async function waitForDebugAdapterEvent(
108108
* @returns exit code of the DAP
109109
*/
110110
export async function waitForDebugAdapterExit(name: string): Promise<number> {
111-
return await waitForDebugAdapterEvent(name, "exited").then(m => m.body.exitCode);
111+
const message = await waitForDebugAdapterEvent(name, "exited");
112+
return message.body.exitCode;
112113
}

0 commit comments

Comments
 (0)