Skip to content

Commit b8ef5df

Browse files
committed
fix: wrap void-returning callback in braces for no-confusing-void-expression
1 parent c318dca commit b8ef5df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bridges/user/web/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function findFreePort(
6565
probe.listen(port, WEB_HOST, () => {
6666
const addr = probe.address();
6767
const actualPort = typeof addr === "object" && addr ? addr.port : port;
68-
probe.close(() => resolve(actualPort));
68+
probe.close(() => { resolve(actualPort); });
6969
});
7070
}
7171

0 commit comments

Comments
 (0)