Skip to content

Commit 7a00c08

Browse files
committed
chore: Add braces around wrapped conditional.
1 parent 755712f commit 7a00c08

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/webdriverio/test/test_setup.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,9 @@ export async function focusOnWorkspaceComment(
278278
return await browser.execute((commentId) => {
279279
const workspaceSvg = Blockly.getMainWorkspace() as Blockly.WorkspaceSvg;
280280
const comment = workspaceSvg.getCommentById(commentId);
281-
if (!comment)
281+
if (!comment) {
282282
throw new Error(`No workspace comment found with ID: ${commentId}.`);
283+
}
283284
Blockly.getFocusManager().focusNode(comment);
284285
}, commentId);
285286
}

0 commit comments

Comments
 (0)