Skip to content

Commit 19c5e7b

Browse files
committed
Remove unnecessary ternary operation
1 parent ea551e5 commit 19c5e7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/proxy.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const isWindows = process.platform === "win32";
3131
const command = (isWindows && bin.endsWith(".bat")) ? `"${bin}"` : bin;
3232

3333
const lsp = spawn(command, args, {
34-
shell: (isWindows && bin.endsWith(".bat")) ? true : false,
34+
shell: (isWindows && bin.endsWith(".bat")),
3535
detached: false,
3636
});
3737

0 commit comments

Comments
 (0)