From f6242dbd427fa1361f2f6f84b2087e6217d50747 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 18 Dec 2023 13:12:27 +0100 Subject: [PATCH] remove aleady done start of function --- .../src/app/plugins/parser/services/code-parser-compiler.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/remix-ide/src/app/plugins/parser/services/code-parser-compiler.ts b/apps/remix-ide/src/app/plugins/parser/services/code-parser-compiler.ts index 1fad0fd67e..cd86557643 100644 --- a/apps/remix-ide/src/app/plugins/parser/services/code-parser-compiler.ts +++ b/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)