From 03b2c724c102e05556084ccfc7b228578507fa12 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 11 Apr 2022 13:58:36 +0200 Subject: [PATCH] Update compiler-abstract.ts --- libs/remix-solidity/src/compiler/compiler-abstract.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {