diff options
author | F. Eugene Aumson <gene@aumson.org> | 2018-08-30 23:51:17 +0800 |
---|---|---|
committer | F. Eugene Aumson <gene@aumson.org> | 2018-08-31 00:02:46 +0800 |
commit | b88a56e6b723016cf830511b2da503747e086f54 (patch) | |
tree | 63bf349c1c2e9815fdbc80f670b5f512037d9b3a /packages/sol-doc/src | |
parent | 297cbd996d7da0cb3232f47734290d0377693faf (diff) | |
download | dexon-sol-tools-b88a56e6b723016cf830511b2da503747e086f54.tar.gz dexon-sol-tools-b88a56e6b723016cf830511b2da503747e086f54.tar.zst dexon-sol-tools-b88a56e6b723016cf830511b2da503747e086f54.zip |
reduce proximity b/w instantiation and use of var
Diffstat (limited to 'packages/sol-doc/src')
-rw-r--r-- | packages/sol-doc/src/solidity_doc_generator.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/sol-doc/src/solidity_doc_generator.ts b/packages/sol-doc/src/solidity_doc_generator.ts index aba7b5475..856787e5f 100644 --- a/packages/sol-doc/src/solidity_doc_generator.ts +++ b/packages/sol-doc/src/solidity_doc_generator.ts @@ -40,10 +40,9 @@ export class SolidityDocGenerator { this._compilerOptions.contracts = contractsToCompile; } - const compiler = new Compiler(this._compilerOptions); - const doc: DocAgnosticFormat = {}; + const compiler = new Compiler(this._compilerOptions); const compilerOutputs = await compiler.getCompilerOutputsAsync(); for (const compilerOutput of compilerOutputs) { const solidityModules = _.keys(compilerOutput.contracts); |