MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / onInterrupt

Method onInterrupt

lib/models/task.js:17–20  ·  view source on GitHub ↗

* Interrupt comamd with an exit code * Called when the process is interrupted from outside, e.g. CTRL+C or `process.kill()` * * @private * @method onInterrupt

()

Source from the content-addressed store, hash-verified

15 * @method onInterrupt
16 */
17 onInterrupt() {
18 // eslint-disable-next-line n/no-process-exit
19 process.exit(1);
20 }
21}
22
23module.exports = Task;

Callers 4

runMethod · 0.45
onInterruptFunction · 0.45
serve-test.jsFile · 0.45

Calls 1

exitMethod · 0.80

Tested by

no test coverage detected