wrangler-action/node_modules/siginfo/test.js

17 lines
263 B
JavaScript
Raw Normal View History

2023-08-07 22:11:15 +02:00
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)