fix mandatory flattening on contract compile

pull/5370/head
Joseph Izang 2 years ago committed by Aniket
parent 961e730165
commit 040f21a889
  1. 2
      apps/remix-ide/src/app/plugins/contractFlattener.tsx

@ -21,7 +21,9 @@ export class ContractFlattener extends Plugin {
onActivation(): void {
this.on('solidity', 'compilationFinished', async (file, source, languageVersion, data, input, version) => {
if(data.sources && Object.keys(data.sources).length > 1) {
await this.flattenContract(source, file, data)
}
})
_paq.push(['trackEvent', 'plugin', 'activated', 'contractFlattener'])
}

Loading…
Cancel
Save