aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-compiler/src/cli.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-23 09:12:23 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-05-24 00:41:35 +0800
commite3604c1662f9c815d628d3e1ce1cb43bc0c1849f (patch)
tree0ad24a14b2519b2403210d7d38a279c5d19d9fbb /packages/sol-compiler/src/cli.ts
parent5913d654bdf77d25b95570b1e656f63cc89ff97a (diff)
downloaddexon-sol-tools-e3604c1662f9c815d628d3e1ce1cb43bc0c1849f.tar.gz
dexon-sol-tools-e3604c1662f9c815d628d3e1ce1cb43bc0c1849f.tar.zst
dexon-sol-tools-e3604c1662f9c815d628d3e1ce1cb43bc0c1849f.zip
Fix prettier
Diffstat (limited to 'packages/sol-compiler/src/cli.ts')
-rw-r--r--packages/sol-compiler/src/cli.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/sol-compiler/src/cli.ts b/packages/sol-compiler/src/cli.ts
index d107e8b37..71bb80c7d 100644
--- a/packages/sol-compiler/src/cli.ts
+++ b/packages/sol-compiler/src/cli.ts
@@ -32,9 +32,7 @@ const SEPARATOR = ',';
.help().argv;
const contracts = _.isUndefined(argv.contracts)
? undefined
- : argv.contracts === DEFAULT_CONTRACTS_LIST
- ? DEFAULT_CONTRACTS_LIST
- : argv.contracts.split(SEPARATOR);
+ : argv.contracts === DEFAULT_CONTRACTS_LIST ? DEFAULT_CONTRACTS_LIST : argv.contracts.split(SEPARATOR);
const opts: CompilerOptions = {
contractsDir: argv.contractsDir,
artifactsDir: argv.artifactsDir,