diff --git a/libs/remix-solidity/src/compiler/compiler.ts b/libs/remix-solidity/src/compiler/compiler.ts index 7c1c5fa1e3..a99154c08a 100644 --- a/libs/remix-solidity/src/compiler/compiler.ts +++ b/libs/remix-solidity/src/compiler/compiler.ts @@ -337,7 +337,7 @@ export class Compiler { try { if (useFileConfiguration) { - let compilerInput = JSON.parse(configFileContent) + const compilerInput = JSON.parse(configFileContent) if (compilerInput.settings.remappings?.length) compilerInput.settings.remappings.push(...remappings) else compilerInput.settings.remappings = remappings input = compilerInputForConfigFile(source.sources, compilerInput)