Skip to content

Commit

Permalink
chore: fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
artall64 committed Nov 10, 2023
1 parent e25ab88 commit 7782d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require('solidity-coverage');

const { networks, etherscan } = require('./hardhat.networks');

function getNetwork() {
function getNetwork () {
const index = process.argv.findIndex((arg) => arg === '--network') + 1;
return index !== 0 ? process.argv[index] : undefined;
}
Expand Down

0 comments on commit 7782d15

Please sign in to comment.