uptime-kuma/extra/press-any-key.js
2022-03-25 00:03:25 +08:00

7 行
211 B
JavaScript

console.log("Git Push and Publish the release note on github, then press any key to continue");
process.stdin.setRawMode(true);
process.stdin.resume();
process.stdin.on("data", process.exit.bind(process, 0));