aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-doc/src/cli.ts
diff options
context:
space:
mode:
authorF. Eugene Aumson <feuGeneA@users.noreply.github.com>2018-09-26 03:26:42 +0800
committerF. Eugene Aumson <feuGeneA@users.noreply.github.com>2018-09-26 04:31:39 +0800
commitac5376a1ca29f8cba3c94f759654ea50d4947f84 (patch)
treee8aefe19504589cac6bf8005c46e4662f54121fd /packages/sol-doc/src/cli.ts
parent600ffd93a626f9ce8168bc460c731ba8cd27d715 (diff)
downloaddexon-sol-tools-ac5376a1ca29f8cba3c94f759654ea50d4947f84.tar
dexon-sol-tools-ac5376a1ca29f8cba3c94f759654ea50d4947f84.tar.gz
dexon-sol-tools-ac5376a1ca29f8cba3c94f759654ea50d4947f84.tar.bz2
dexon-sol-tools-ac5376a1ca29f8cba3c94f759654ea50d4947f84.tar.lz
dexon-sol-tools-ac5376a1ca29f8cba3c94f759654ea50d4947f84.tar.xz
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
Diffstat (limited to 'packages/sol-doc/src/cli.ts')
-rw-r--r--packages/sol-doc/src/cli.ts4
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;