diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-12-08 19:46:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-08 19:46:51 +0800 |
commit | 36125c3539fce6f67d62ab3378bbf09653a1c3c1 (patch) | |
tree | 053c7b62f54be4447fb352c84a8452da5f92b697 /packages/abi-gen/src/index.ts | |
parent | b362e2c28e9cafa7335bced17ec61fba93b018e6 (diff) | |
parent | 72ced622d7fddac4d17b7814f45aeea01db23959 (diff) | |
download | dexon-sol-tools-36125c3539fce6f67d62ab3378bbf09653a1c3c1.tar dexon-sol-tools-36125c3539fce6f67d62ab3378bbf09653a1c3c1.tar.gz dexon-sol-tools-36125c3539fce6f67d62ab3378bbf09653a1c3c1.tar.bz2 dexon-sol-tools-36125c3539fce6f67d62ab3378bbf09653a1c3c1.tar.lz dexon-sol-tools-36125c3539fce6f67d62ab3378bbf09653a1c3c1.tar.xz dexon-sol-tools-36125c3539fce6f67d62ab3378bbf09653a1c3c1.tar.zst dexon-sol-tools-36125c3539fce6f67d62ab3378bbf09653a1c3c1.zip |
Merge branch 'development' into feature/web3-wrapper
Diffstat (limited to 'packages/abi-gen/src/index.ts')
-rw-r--r-- | packages/abi-gen/src/index.ts | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/abi-gen/src/index.ts b/packages/abi-gen/src/index.ts index 12b78f96f..19d289e49 100644 --- a/packages/abi-gen/src/index.ts +++ b/packages/abi-gen/src/index.ts @@ -33,16 +33,11 @@ const args = yargs type: 'string', demand: true, }) - .option('fileExtension', { - describe: 'The extension of the output file', - type: 'string', - demand: true, - }) .argv; function writeOutputFile(name: string, renderedTsCode: string): void { const fileName = toSnakeCase(name); - const filePath = `${args.output}/${fileName}.${args.fileExtension}`; + const filePath = `${args.output}/${fileName}.ts`; fs.writeFileSync(filePath, renderedTsCode); utils.log(`Created: ${chalk.bold(filePath)}`); } |