remove config dep left over

pull/5370/head
yann300 3 years ago
parent 639e147034
commit 3ffe6bcb53
  1. 1
      apps/remix-ide/src/app/tabs/compile-tab.js
  2. 2
      libs/remix-ui/solidity-compiler/src/lib/logic/compileTabLogic.ts

@ -54,7 +54,6 @@ class CompileTab extends ViewPlugin {
}
this.compileTabLogic = new CompileTabLogic(this,
this.fileManager,
this.config,
this.fileProvider,
this.contentImport,
this.setCompileErrors.bind(this)

@ -18,7 +18,7 @@ export class CompileTab extends Plugin {
public compilerImport
public event
constructor (public api, public fileManager, public config, public fileProvider, public contentImport) {
constructor (public api, public fileManager, public contentImport) {
super(profile)
this.event = new EventEmitter()
this.compiler = new Compiler((url, cb) => this.call('contentImport', 'resolveAndSave', url).then((result) => cb(null, result)).catch((error) => cb(error.message)))

Loading…
Cancel
Save