on master help sign in
cleaned up a redundant if clause
8e44dcbMichael James
runtime/Debugger.js+1−3
@@ -284,9 +284,7 @@ function debuggerInit(debugModule, runtime, hotSwapState) {
284 debugModule.tracePath.stopRecording();
284 debugModule.tracePath.stopRecording();
285
285
286 stepTo(hotSwapState.currentEventIndex);
286 stepTo(hotSwapState.currentEventIndex);
287− if (paused) {
287+ if (!paused) {
288− debugModule.setPaused();
289− } else {
290 debugModule.setContinue(hotSwapState.currentEventIndex);
288 debugModule.setContinue(hotSwapState.currentEventIndex);
291 }
289 }
292 }
290 }