Merge pull request #4354 from ethereum/fix_reloading_after_config_changed

remove aleady done start of function
desktopofflinenoscript
bunsenstraat 11 months ago committed by GitHub
commit 5fe7ba0888
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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.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 sources = { [this.plugin.currentFile]: { content } }
this.compiler.compile(sources, this.plugin.currentFile)

Loading…
Cancel
Save