Skip to content

Commit 5f56199

Browse files
authored
fix(scripts): drop redundant boolean comparison in worker detection (#124668)
1 parent 886e5c0 commit 5f56199

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/check-changed.mts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ function isDedicatedLinuxWorker(
242242
if (env.DISPLAY || env.WAYLAND_DISPLAY || env.SSH_TTY) {
243243
return false;
244244
}
245-
if ((options.interactive ?? process.stdin.isTTY) === true) {
245+
if (options.interactive ?? process.stdin.isTTY) {
246246
return false;
247247
}
248248
if (options.virtualized !== undefined) {

0 commit comments

Comments
 (0)