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