refactor: make TTY detection explicit per review feedback (#218)
🤖 Generated with assistance of OhMyOpenCode (https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
@@ -11,7 +11,7 @@ export function isNonInteractive(): boolean {
|
||||
return true
|
||||
}
|
||||
|
||||
if (!process.stdout.isTTY) {
|
||||
if (process.stdout.isTTY !== true) {
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user