Skip to content

Commit

Permalink
fix: removed space between pragma solidity and the solidity version f…
Browse files Browse the repository at this point in the history
…or flatten
  • Loading branch information
naddison36 committed Sep 29, 2022
1 parent a31033e commit 3b8a954
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/parserEtherscan.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sol2uml",
"version": "2.2.2",
"version": "2.2.3",
"description": "Solidity contract visualisation tool.",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/ts/parserEtherscan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export class EtherscanParser {
debug(`Failed to find dependencies to files: ${nonDependentFilenames}`)

const solidityVersion = parseSolidityVersion(compilerVersion)
let solidityCode = `pragma solidity = ${solidityVersion};\n`
let solidityCode = `pragma solidity =${solidityVersion};\n`

// output non dependent code before the dependent files just in case sol2uml missed some dependencies
const filenames = [...nonDependentFilenames, ...dependentFilenames]
Expand Down

0 comments on commit 3b8a954

Please sign in to comment.