2
2
kopia lustrzana https://git.coolaj86.com/coolaj86/telebit.js.git synced 2025-07-05 10:46:35 +00:00

workaround dev/tty bugs - tell user to hit any key

This commit is contained in:
AJ ONeal 2018-06-24 03:01:06 -06:00
rodzic 68ed91a5c9
commit b22018191d

Wyświetl plik

@ -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);