remove aleady done start of function

pull/4354/head
yann300 11 months ago
parent 8d4d3d46b2
commit f6242dbd42
  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