diff --git a/src/emulator/index.js b/src/emulator/index.js index 2d638c2..0993e24 100644 --- a/src/emulator/index.js +++ b/src/emulator/index.js @@ -107,7 +107,7 @@ export default class Emulator { const {state: nextState, output, outputs} = CommandRunner.run( commandMapping, commandName, commandArgs, errorStr - ); + ) || {}; if (nextState) { state = nextState;