aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-12 19:42:14 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-12 19:42:14 +0800
commit49ff4299c6628fcb0de831f4da1dd1a683305fa5 (patch)
tree806ab8c725d7301266287e32cd494812f9cf7e2b /packages/deployer/src
parent4d18a4802d43003b5fa49f7f31a3223d863e7217 (diff)
downloaddexon-sol-tools-49ff4299c6628fcb0de831f4da1dd1a683305fa5.tar
dexon-sol-tools-49ff4299c6628fcb0de831f4da1dd1a683305fa5.tar.gz
dexon-sol-tools-49ff4299c6628fcb0de831f4da1dd1a683305fa5.tar.bz2
dexon-sol-tools-49ff4299c6628fcb0de831f4da1dd1a683305fa5.tar.lz
dexon-sol-tools-49ff4299c6628fcb0de831f4da1dd1a683305fa5.tar.xz
dexon-sol-tools-49ff4299c6628fcb0de831f4da1dd1a683305fa5.tar.zst
dexon-sol-tools-49ff4299c6628fcb0de831f4da1dd1a683305fa5.zip
Fix comments
Diffstat (limited to 'packages/deployer/src')
-rw-r--r--packages/deployer/src/deployer.ts4
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 {