Commit d7a7d798 authored by Iuri Matias's avatar Iuri Matias

make linter happy

parent dc1b07bc
...@@ -11,17 +11,16 @@ function Debugger (options) { ...@@ -11,17 +11,16 @@ function Debugger (options) {
this.offsetToLineColumnConverter = options.offsetToLineColumnConverter this.offsetToLineColumnConverter = options.offsetToLineColumnConverter
this.compiler = options.compiler this.compiler = options.compiler
this.debugger = new Ethdebugger( this.debugger = new Ethdebugger({
{ executionContext: this.executionContext,
executionContext: this.executionContext, compilationResult: () => {
compilationResult: () => { var compilationResult = this.compiler.lastCompilationResult
var compilationResult = this.compiler.lastCompilationResult if (compilationResult) {
if (compilationResult) { return compilationResult.data
return compilationResult.data
}
return null
} }
}) return null
}
})
this.breakPointManager = new remixLib.code.BreakpointManager(this.debugger, (sourceLocation) => { this.breakPointManager = new remixLib.code.BreakpointManager(this.debugger, (sourceLocation) => {
return self.offsetToLineColumnConverter.offsetToLineColumn(sourceLocation, sourceLocation.file, this.compiler.lastCompilationResult.source.sources, this.compiler.lastCompilationResult.data.sources) return self.offsetToLineColumnConverter.offsetToLineColumn(sourceLocation, sourceLocation.file, this.compiler.lastCompilationResult.source.sources, this.compiler.lastCompilationResult.data.sources)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment