We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e81804 commit dd37ed5Copy full SHA for dd37ed5
test/utilities/debug.ts
@@ -108,5 +108,6 @@ export async function waitForDebugAdapterEvent(
108
* @returns exit code of the DAP
109
*/
110
export async function waitForDebugAdapterExit(name: string): Promise<number> {
111
- return await waitForDebugAdapterEvent(name, "exited").then(m => m.body.exitCode);
+ const message = await waitForDebugAdapterEvent(name, "exited");
112
+ return message.body.exitCode;
113
}
0 commit comments