File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -24,16 +24,11 @@ const ui = new PluginUI();
2424// Workaround for hardhat-viem-plugin and other provider redefinition conflicts
2525extendConfig ( ( config , userConfig ) => {
2626 if ( Boolean ( process . env . SOLIDITY_COVERAGE ) ) {
27- const { cloneDeep } = require ( "lodash" ) ;
2827 const { configureHardhatEVMGas } = require ( './resources/nomiclabs.utils' ) ;
2928 const API = require ( './../lib/api' ) ;
3029 const api = new API ( { } ) ;
3130
32- let hardhatNetworkForCoverage = { } ;
33- if ( userConfig . networks && userConfig . networks . hardhat ) {
34- hardhatNetworkForCoverage = cloneDeep ( userConfig . networks . hardhat ) ;
35- } ;
36-
31+ const hardhatNetworkForCoverage = { } ;
3732 configureHardhatEVMGas ( hardhatNetworkForCoverage , api ) ;
3833 config . networks . hardhat = Object . assign ( config . networks . hardhat , hardhatNetworkForCoverage ) ;
3934 }
You can’t perform that action at this time.
0 commit comments