From df062e18281175c39b9225f3adec172c27fd5f32 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 22 Aug 2018 15:13:37 +0200 Subject: [PATCH] fix tests --- src/lib/cmdInterpreterAPI.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/cmdInterpreterAPI.js b/src/lib/cmdInterpreterAPI.js index aa6190dd61..52de828154 100644 --- a/src/lib/cmdInterpreterAPI.js +++ b/src/lib/cmdInterpreterAPI.js @@ -2,7 +2,6 @@ var yo = require('yo-yo') var async = require('async') var remixLib = require('remix-lib') -var remixCore = require('remix-core') var EventManager = remixLib.EventManager var executionContext = require('../execution-context') @@ -106,7 +105,7 @@ class CmdInterpreterAPI { } self.d.goTo = (row) => { if (self._deps.editor.current()) { - var breakPoint = new remixCore.code.BreakpointManager(self.d, (sourceLocation) => { + var breakPoint = new remixLib.code.BreakpointManager(self.d, (sourceLocation) => { return self._deps.offsetToLineColumnConverter.offsetToLineColumn(sourceLocation, sourceLocation.file, self._deps.compiler.lastCompilationResult.source.sources) }) breakPoint.event.register('breakpointHit', (sourceLocation, currentStep) => {