This commit is contained in:
matt korwel
2025-07-05 08:27:22 -07:00
committed by GitHub
parent b8ac12b382
commit bff4641ec1
3 changed files with 37 additions and 10 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ export async function main() {
}
// If not a TTY, read from stdin
// This is for cases where the user pipes input directly into the command
if (!process.stdin.isTTY) {
if (!process.stdin.isTTY && !input) {
input += await readStdin();
}
if (!input) {