We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf3d8f0 commit 98a32c4Copy full SHA for 98a32c4
src/utils.ts
@@ -26,9 +26,9 @@ export function setAccessTokenConfig(token: string) {
26
27
export function safeStdinRead() {
28
let result
29
+ const STDIN_FD = 0
30
try {
- result = fs.readFileSync(process.stdin.fd).toString()
31
+ result = fs.readFileSync(STDIN_FD).toString()
32
} catch {}
-
33
return result
34
}
0 commit comments