clean up console logs

pull/5370/head
Joseph Izang 2 years ago committed by Aniket
parent cc35d7e58e
commit 961e730165
  1. 1
      apps/remix-ide/src/app/plugins/contractFlattener.tsx
  2. 1
      apps/remix-ide/src/app/plugins/solidity-umlgen.tsx
  3. 1
      libs/remix-ui/solidity-compiler/src/lib/logic/flattenerUtilities.ts

@ -27,7 +27,6 @@ export class ContractFlattener extends Plugin {
}
async flattenAContract(action: customAction) {
this.call('manager', 'deactivatePlugin', 'solidityumlgen')
await this.call('solidity', 'compile', action.path[0])
}

@ -75,6 +75,7 @@ export class SolidityUmlGen extends ViewPlugin implements ISolidityUmlGen {
this.themeName = currentTheme.name
let result = ''
try {
console.log({ data })
if (data.sources && Object.keys(data.sources).length > 1) { // we should flatten first as there are multiple asts
result = await this.flattenContract(source, file, data)
}

@ -170,7 +170,6 @@ function _resolvePathArray(parts) {
}
export function normalizeContractPath(contractPath: string): string {
console.log('contractPath', contractPath)
let paths = contractPath.split('/')
let filename = paths[paths.length - 1].split('.')[0]
let folders = ''

Loading…
Cancel
Save