Skip to content

Commit bfc9961

Browse files
committed
remove unnecessary assertion
1 parent 5c30658 commit bfc9961

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

editors/code/src/commands.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,7 @@ export function runSelected(ctx: CtxInit): Cmd {
11191119
return;
11201120
}
11211121

1122-
const task = await createTask(test!.runnable, ctx.config);
1122+
const task = await createTask(test.runnable, ctx.config);
11231123
return vscode.tasks.executeTask(task);
11241124
},
11251125
);
@@ -1151,7 +1151,7 @@ export function debugSelected(ctx: CtxInit): Cmd {
11511151
return;
11521152
}
11531153

1154-
return startDebugSession(ctx, test!.runnable);
1154+
return startDebugSession(ctx, test.runnable);
11551155
},
11561156
);
11571157
};

0 commit comments

Comments
 (0)