Quick bugfix for `Compiler Version` replacement - remove space
plotchy opened this issue · comments
plotchy commented
Noticed a minor issue after testing the new feature. It is creating invalid syntax, ex:
pragma solidity = 0.8.4;
I believe the space after =
should be removed here:
sol2uml/src/ts/parserEtherscan.ts
Line 157 in a31033e
let solidityCode = `pragma solidity =${solidityVersion};\n`
plotchy commented
I did a quick runthrough of your PR after seeing this behavior. I'm not familiar with TS so I could be missing the correct location for where this should be adjusted.
Nick Addison commented
Sorry about that. I should have picked that up when I tested. Try v2.2.3