diff --git a/src/commands/testCrash.js b/src/commands/testCrash.js index 5675a1ee..0725988a 100644 --- a/src/commands/testCrash.js +++ b/src/commands/testCrash.js @@ -8,10 +8,10 @@ import { createCommand, Command } from 'helpers/ipc' type Input = void type Result = void -const cmd: Command = createCommand('testCrash', () => { - return Observable.create(() => { +const cmd: Command = createCommand('testCrash', () => + Observable.create(() => { process.exit(1) - }) -}) + }), +) export default cmd