Skip to content

Commit f993104

Browse files
committed
fix(scripts): use the interactive flag directly in virtualization probe
no-unnecessary-boolean-literal-compare (type-aware lane) rejects '(options.interactive ?? process.stdin.isTTY) === true'; both operands are boolean, so use the expression directly. Broke check-lint on main via 5524092; fixed in this landing PR per the broken-CI default.
1 parent bdf5252 commit f993104

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)