import file writer

pull/5370/head
Joseph Izang 2 years ago committed by Aniket
parent fafb2975e0
commit f92cc667bc
  1. 6
      libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx

@ -741,8 +741,10 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
const ast = parser.parse(sourceCode)
console.log({ ast })
try {
// const result = await convertAST2UmlClasses(ast, currentFile)
// console.log({ result })
const result = await convertAST2UmlClasses(ast, currentFile)
const diagram = await writeOutputFiles('',currentFile, '', 'png', `${currentFile}Diagram`)
console.log({ result })
console.log({ diagram })
} catch (error) {
console.log({ error })
console.log({ payload })

Loading…
Cancel
Save