diff options
author | F. Eugene Aumson <feuGeneA@users.noreply.github.com> | 2018-09-26 03:26:42 +0800 |
---|---|---|
committer | F. Eugene Aumson <feuGeneA@users.noreply.github.com> | 2018-09-26 04:31:39 +0800 |
commit | ac5376a1ca29f8cba3c94f759654ea50d4947f84 (patch) | |
tree | e8aefe19504589cac6bf8005c46e4662f54121fd | |
parent | 600ffd93a626f9ce8168bc460c731ba8cd27d715 (diff) | |
download | dexon-sol-tools-ac5376a1ca29f8cba3c94f759654ea50d4947f84.tar.gz dexon-sol-tools-ac5376a1ca29f8cba3c94f759654ea50d4947f84.tar.zst dexon-sol-tools-ac5376a1ca29f8cba3c94f759654ea50d4947f84.zip |
fix: rename JSON_TABWIDTH to JSON_TAB_WIDTH
https://github.com/0xProject/0x-monorepo/pull/1004#discussion_r219977842
https://github.com/0xProject/0x-monorepo/pull/1004
-rw-r--r-- | packages/sol-doc/src/cli.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/sol-doc/src/cli.ts b/packages/sol-doc/src/cli.ts index 59fc185de..1cdc35b64 100644 --- a/packages/sol-doc/src/cli.ts +++ b/packages/sol-doc/src/cli.ts @@ -3,7 +3,7 @@ import * as yargs from 'yargs'; import { generateSolDocAsync } from './solidity_doc_generator'; -const JSON_TABWIDTH = 4; +const JSON_TAB_WIDTH = 4; (async () => { const argv = yargs @@ -19,7 +19,7 @@ const JSON_TABWIDTH = 4; .array('contracts') .help().argv; process.stdout.write( - JSON.stringify(await generateSolDocAsync(argv.contractsDir, argv.contracts), null, JSON_TABWIDTH), + JSON.stringify(await generateSolDocAsync(argv.contractsDir, argv.contracts), null, JSON_TAB_WIDTH), ); })().catch(err => { throw err; |