aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer/src/cli.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-24 02:52:12 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-28 04:05:22 +0800
commit0409c9c1e5a30380745c3406666d3fc6234d76c0 (patch)
tree73f8915ff70f5ac6561c0a1d783b5860c2a34f4c /packages/deployer/src/cli.ts
parent42a5da1df44d579045c92ea30ed62872ff6603b4 (diff)
downloaddexon-0x-contracts-0409c9c1e5a30380745c3406666d3fc6234d76c0.tar.gz
dexon-0x-contracts-0409c9c1e5a30380745c3406666d3fc6234d76c0.tar.zst
dexon-0x-contracts-0409c9c1e5a30380745c3406666d3fc6234d76c0.zip
Fix default contract set calculation
Diffstat (limited to 'packages/deployer/src/cli.ts')
-rw-r--r--packages/deployer/src/cli.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/deployer/src/cli.ts b/packages/deployer/src/cli.ts
index cff676179..c976e8f97 100644
--- a/packages/deployer/src/cli.ts
+++ b/packages/deployer/src/cli.ts
@@ -100,6 +100,9 @@ async function onDeployCommand(argv: CliOptions): Promise<void> {
*/
function getContractsSetFromList(contracts: string): Set<string> {
const specifiedContracts = new Set();
+ if (contracts === '*') {
+ return new Set(['*']);
+ }
const contractsArray = contracts.split(',');
_.forEach(contractsArray, contractName => {
const fileName = `${contractName}${constants.SOLIDITY_FILE_EXTENSION}`;