wrangler-action/node_modules/siginfo/test.js
2023-08-07 15:11:15 -05:00

16 lines
263 B
JavaScript

var siginfo = require('.')
var pkg = require('./package.json')
var stop = siginfo(function () {
console.dir({
version: pkg.version,
uptime: process.uptime()
})
})
process.stdout.resume()
setTimeout(function () {
stop()
process.exit(0)
}, 2000)