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 eb295c3 commit 244c180Copy full SHA for 244c180
automation/shellUtils.ts
@@ -78,14 +78,12 @@ export async function $seq(
78
onSuccess();
79
}
80
81
-
82
83
export async function $input(message: string): Promise<string> {
84
console.write(`${message} `);
85
const stdin = Bun.stdin.stream();
86
const reader = stdin.getReader();
87
const chunk = await reader.read();
88
- reader.releaseLock()
+ reader.releaseLock();
89
const text = Buffer.from(chunk.value ?? '').toString();
90
return text.trim();
91
0 commit comments