remove aleady done start of function

pull/5370/head
yann300 11 months ago
parent db1091582d
commit a93f984d27
  1. 2
      apps/remix-ide/src/app/plugins/parser/services/code-parser-compiler.ts

@ -168,8 +168,6 @@ export default class CodeParserCompiler {
} }
this.compiler.set('configFileContent', JSON.stringify(configFileContent)) this.compiler.set('configFileContent', JSON.stringify(configFileContent))
this.plugin.currentFile = await this.plugin.call('fileManager', 'file')
if (!this.plugin.currentFile) return
const content = await this.plugin.call('fileManager', 'readFile', this.plugin.currentFile) const content = await this.plugin.call('fileManager', 'readFile', this.plugin.currentFile)
const sources = { [this.plugin.currentFile]: { content } } const sources = { [this.plugin.currentFile]: { content } }
this.compiler.compile(sources, this.plugin.currentFile) this.compiler.compile(sources, this.plugin.currentFile)

Loading…
Cancel
Save