This commit is contained in:
matt korwel 2025-07-05 08:27:22 -07:00 committed by GitHub
parent ab96676e36
commit 4963a1eea8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 37 additions and 10 deletions

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) {