end std input from tty
Este commit está contenido en:
padre
b2288e27c0
commit
3e9620ee90
@ -320,7 +320,7 @@ function askForConfig(answers, mainCb) {
|
|||||||
if (!q) {
|
if (!q) {
|
||||||
// https://github.com/nodejs/node/issues/21319
|
// https://github.com/nodejs/node/issues/21319
|
||||||
rl.close();
|
rl.close();
|
||||||
if (useTty) { stdin.close(); }
|
if (useTty) { stdin.push(null); /*stdin.close();*/ }
|
||||||
mainCb(null, answers);
|
mainCb(null, answers);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Cargando…
x
Referencia en una nueva incidencia
Block a user