From 0f03f5aad48b200072fc464c937118e35db68f1c Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Thu, 25 Dec 2025 15:45:28 +0900 Subject: [PATCH] refactor: make TTY detection explicit per review feedback (#218) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with assistance of OhMyOpenCode (https://github.com/code-yeongyu/oh-my-opencode) --- src/hooks/non-interactive-env/detector.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/non-interactive-env/detector.ts b/src/hooks/non-interactive-env/detector.ts index b6b0213..df4a245 100644 --- a/src/hooks/non-interactive-env/detector.ts +++ b/src/hooks/non-interactive-env/detector.ts @@ -11,7 +11,7 @@ export function isNonInteractive(): boolean { return true } - if (!process.stdout.isTTY) { + if (process.stdout.isTTY !== true) { return true }