workaround dev/tty bugs - tell user to hit any key
Šī revīzija ir iekļauta:
vecāks
68ed91a5c9
revīzija
b22018191d
@ -478,6 +478,9 @@ function parseConfig(err, text) {
|
||||
|
||||
// workaround for https://github.com/nodejs/node/issues/21319
|
||||
if (answers._useTty) {
|
||||
console.log();
|
||||
console.log("Press any key to continue...");
|
||||
console.log();
|
||||
setTimeout(function () {
|
||||
process.exit(0);
|
||||
}, 2 * 1000);
|
||||
|
||||
Notiek ielāde…
x
Atsaukties uz šo jaunā problēmā
Block a user