diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-24 02:52:12 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-28 04:05:22 +0800 |
commit | 0409c9c1e5a30380745c3406666d3fc6234d76c0 (patch) | |
tree | 73f8915ff70f5ac6561c0a1d783b5860c2a34f4c | |
parent | 42a5da1df44d579045c92ea30ed62872ff6603b4 (diff) | |
download | dexon-0x-contracts-0409c9c1e5a30380745c3406666d3fc6234d76c0.tar.gz dexon-0x-contracts-0409c9c1e5a30380745c3406666d3fc6234d76c0.tar.zst dexon-0x-contracts-0409c9c1e5a30380745c3406666d3fc6234d76c0.zip |
Fix default contract set calculation
-rw-r--r-- | packages/deployer/src/cli.ts | 3 |
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}`; |