github-pages-deploy-action/node_modules/restore-cursor/index.js
2020-03-06 22:45:40 -05:00

10 lines
215 B
JavaScript

'use strict';
const onetime = require('onetime');
const signalExit = require('signal-exit');
module.exports = onetime(() => {
signalExit(() => {
process.stderr.write('\u001b[?25h');
}, {alwaysLast: true});
});