electron/spec/fixtures/module/echo-renamed.js

7 lines
96 B
JavaScript

let echo
try {
echo = require('echo')
} catch (e) {
process.exit(1)
}
process.exit(echo(0))