From 0409c9c1e5a30380745c3406666d3fc6234d76c0 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 23 Feb 2018 10:52:12 -0800 Subject: Fix default contract set calculation --- packages/deployer/src/cli.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages/deployer/src/cli.ts') 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 { */ function getContractsSetFromList(contracts: string): Set { const specifiedContracts = new Set(); + if (contracts === '*') { + return new Set(['*']); + } const contractsArray = contracts.split(','); _.forEach(contractsArray, contractName => { const fileName = `${contractName}${constants.SOLIDITY_FILE_EXTENSION}`; -- cgit v1.2.3