Merge pull request #2926 from ethereum/licenseFix

fix compiler license loading
pull/2927/head
bunsenstraat 2 years ago committed by GitHub
commit 5aa2974175
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      libs/remix-solidity/src/compiler/compiler.ts

@ -281,7 +281,7 @@ export class Compiler {
} }
switch (data.cmd) { switch (data.cmd) {
case 'versionLoaded': case 'versionLoaded':
if (data.data && data.license) this.onCompilerLoaded(data.data, data.license) if (data.data) this.onCompilerLoaded(data.data, data.license)
break break
case 'compiled': case 'compiled':
{ {

Loading…
Cancel
Save