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

6 lines
198 B
JavaScript

console.log("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));