diff --git a/libs/remix-solidity/src/compiler/compiler-abstract.ts b/libs/remix-solidity/src/compiler/compiler-abstract.ts index 7471816fea..ea0f4a7de8 100644 --- a/libs/remix-solidity/src/compiler/compiler-abstract.ts +++ b/libs/remix-solidity/src/compiler/compiler-abstract.ts @@ -14,7 +14,7 @@ export class CompilerAbstract { } getContracts () { - return this.data.contracts + return this.data.contracts || {} } getContract (name) {