Skip to content

Commit 5c30658

Browse files
committed
fix curly braces
1 parent 89281e0 commit 5c30658

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

editors/code/src/commands.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,8 +1115,9 @@ export function runSelected(ctx: CtxInit): Cmd {
11151115
position: position,
11161116
});
11171117

1118-
if (!test)
1118+
if (!test) {
11191119
return;
1120+
}
11201121

11211122
const task = await createTask(test!.runnable, ctx.config);
11221123
return vscode.tasks.executeTask(task);
@@ -1146,8 +1147,9 @@ export function debugSelected(ctx: CtxInit): Cmd {
11461147
position: position,
11471148
});
11481149

1149-
if (!test)
1150+
if (!test) {
11501151
return;
1152+
}
11511153

11521154
return startDebugSession(ctx, test!.runnable);
11531155
},

0 commit comments

Comments
 (0)