end std input from tty
This commit is contained in:
부모
b2288e27c0
커밋
3e9620ee90
@ -320,7 +320,7 @@ function askForConfig(answers, mainCb) {
|
||||
if (!q) {
|
||||
// https://github.com/nodejs/node/issues/21319
|
||||
rl.close();
|
||||
if (useTty) { stdin.close(); }
|
||||
if (useTty) { stdin.push(null); /*stdin.close();*/ }
|
||||
mainCb(null, answers);
|
||||
return;
|
||||
}
|
||||
|
||||
불러오는 중...
x
Reference in New Issue
Block a user