Skip to content

Commit

Permalink
Fix review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
award999 committed Dec 10, 2024
1 parent 8e81804 commit dd37ed5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/utilities/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,6 @@ export async function waitForDebugAdapterEvent(
* @returns exit code of the DAP
*/
export async function waitForDebugAdapterExit(name: string): Promise<number> {
return await waitForDebugAdapterEvent(name, "exited").then(m => m.body.exitCode);
const message = await waitForDebugAdapterEvent(name, "exited");
return message.body.exitCode;
}

0 comments on commit dd37ed5

Please sign in to comment.