From d8e9687dd2eafdb755028dee8e826e818b11dfb7 Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Tue, 20 Sep 2022 14:06:21 +0530 Subject: [PATCH] fix compiler license loading --- libs/remix-solidity/src/compiler/compiler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-solidity/src/compiler/compiler.ts b/libs/remix-solidity/src/compiler/compiler.ts index f1302f88b9..08efe15f14 100644 --- a/libs/remix-solidity/src/compiler/compiler.ts +++ b/libs/remix-solidity/src/compiler/compiler.ts @@ -281,7 +281,7 @@ export class Compiler { } switch (data.cmd) { case 'versionLoaded': - if (data.data && data.license) this.onCompilerLoaded(data.data, data.license) + if (data.data) this.onCompilerLoaded(data.data, data.license) break case 'compiled': {