diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-16 22:09:11 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-21 22:11:41 +0800 |
commit | 18b9fe525622d9e18491f76136d7697806996a09 (patch) | |
tree | 5bed8ae3fecf81a414d83dba67f7437b28d40bbe /packages/deployer/src/cli.ts | |
parent | 439e8640859cf790bac51c1beeec4cf65aa33c57 (diff) | |
download | dexon-sol-tools-18b9fe525622d9e18491f76136d7697806996a09.tar dexon-sol-tools-18b9fe525622d9e18491f76136d7697806996a09.tar.gz dexon-sol-tools-18b9fe525622d9e18491f76136d7697806996a09.tar.bz2 dexon-sol-tools-18b9fe525622d9e18491f76136d7697806996a09.tar.lz dexon-sol-tools-18b9fe525622d9e18491f76136d7697806996a09.tar.xz dexon-sol-tools-18b9fe525622d9e18491f76136d7697806996a09.tar.zst dexon-sol-tools-18b9fe525622d9e18491f76136d7697806996a09.zip |
Enable strictNullChecks
Diffstat (limited to 'packages/deployer/src/cli.ts')
-rw-r--r-- | packages/deployer/src/cli.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/deployer/src/cli.ts b/packages/deployer/src/cli.ts index efbf56bb0..d1bd645b3 100644 --- a/packages/deployer/src/cli.ts +++ b/packages/deployer/src/cli.ts @@ -63,9 +63,9 @@ async function onDeployCommandAsync(argv: CliOptions): Promise<void> { networkId, defaults, }; - const deployerArgsString = argv.args; + const deployerArgsString = argv.args as string; const deployerArgs = deployerArgsString.split(','); - await commands.deployAsync(argv.contract, deployerArgs, deployerOpts); + await commands.deployAsync(argv.contract as string, deployerArgs, deployerOpts); } /** * Creates a set of contracts to compile. |