Add sanitize.js: secret-free copy under a new passphrase (Refs #19)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2
build.js
2
build.js
@@ -32,7 +32,7 @@ function parseArgs(argv) {
|
||||
return a;
|
||||
}
|
||||
|
||||
function promptHidden(question) {
|
||||
export function promptHidden(question) {
|
||||
return new Promise((res, rej) => {
|
||||
if (!process.stdin.isTTY) return rej(new Error('No terminal to prompt on: set FW_PASSPHRASE instead.'));
|
||||
process.stdout.write(question);
|
||||
|
||||
Reference in New Issue
Block a user