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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user