electron/spec-main/fixtures/module/echo.js
2019-10-09 16:33:15 -07:00

6 lines
135 B
JavaScript

process.on('uncaughtException', function (err) {
process.send(err.message)
})
const echo = require('echo')
process.send(echo('ok'))