diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-12 19:42:14 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-12 19:42:14 +0800 |
commit | 49ff4299c6628fcb0de831f4da1dd1a683305fa5 (patch) | |
tree | 806ab8c725d7301266287e32cd494812f9cf7e2b /packages/deployer/src | |
parent | 4d18a4802d43003b5fa49f7f31a3223d863e7217 (diff) | |
download | dexon-0x-contracts-49ff4299c6628fcb0de831f4da1dd1a683305fa5.tar.gz dexon-0x-contracts-49ff4299c6628fcb0de831f4da1dd1a683305fa5.tar.zst dexon-0x-contracts-49ff4299c6628fcb0de831f4da1dd1a683305fa5.zip |
Fix comments
Diffstat (limited to 'packages/deployer/src')
-rw-r--r-- | packages/deployer/src/deployer.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/deployer/src/deployer.ts b/packages/deployer/src/deployer.ts index 7dfb4c9b1..27c346524 100644 --- a/packages/deployer/src/deployer.ts +++ b/packages/deployer/src/deployer.ts @@ -32,9 +32,7 @@ export class Deployer { if (_.isUndefined((opts as ProviderDeployerOptions).web3Provider)) { const jsonrpcUrl = (opts as UrlDeployerOptions).jsonrpcUrl; if (_.isUndefined(jsonrpcUrl)) { - throw new Error( - `Deployer options don't have neither web3Provider nor jsonrpcUrl. Please pass one of them`, - ); + throw new Error(`Deployer options don't contain web3Provider nor jsonrpcUrl. Please pass one of them`); } web3Provider = new Web3.providers.HttpProvider(jsonrpcUrl); } else { |