diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-06-15 07:53:48 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-06-15 07:53:48 +0800 |
commit | 7032825e35e825e42196d4ccc23b1a1f7fb8038a (patch) | |
tree | c1a1d3d7b4b4cde0bc4f73c52f89b695b9adbc97 /packages/contracts | |
parent | d118533d876fdf290af5e0e5a08dd84ff001eee4 (diff) | |
download | dexon-0x-contracts-7032825e35e825e42196d4ccc23b1a1f7fb8038a.tar.gz dexon-0x-contracts-7032825e35e825e42196d4ccc23b1a1f7fb8038a.tar.zst dexon-0x-contracts-7032825e35e825e42196d4ccc23b1a1f7fb8038a.zip |
Change wording of error message when you try to use more than one subprovider
Diffstat (limited to 'packages/contracts')
-rw-r--r-- | packages/contracts/src/utils/web3_wrapper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/src/utils/web3_wrapper.ts b/packages/contracts/src/utils/web3_wrapper.ts index 67b71cdeb..c9d83a02d 100644 --- a/packages/contracts/src/utils/web3_wrapper.ts +++ b/packages/contracts/src/utils/web3_wrapper.ts @@ -54,7 +54,7 @@ const isRevertTraceEnabled = env.parseBoolean(EnvVars.SolidityRevertTrace); const enabledSubproviderCount = _.filter([isCoverageEnabled, isProfilerEnabled, isRevertTraceEnabled], _.identity) .length; if (enabledSubproviderCount > 1) { - throw new Error(`Only one of coverage, profiler, and revert trace subproviders can be enabled at a time`); + throw new Error(`Only one of coverage, profiler, or revert trace subproviders can be enabled at a time`); } if (isCoverageEnabled) { const coverageSubprovider = coverage.getCoverageSubproviderSingleton(); |