Skip to content

Commit 816b3e7

Browse files
committed
modify .husky
1 parent 2e9c7b3 commit 816b3e7

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
./script/preCommitGenAddresses.sh

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
"verify:arbitrum": "hardhat --network arbitrum etherscan-verify",
1717
"gen:addresses": "ts-node ./script/genAddressesJson.ts"
1818
},
19-
"husky": {
20-
"hooks": {
21-
"pre-commit": "./script/preCommitGenAddresses.sh"
22-
}
23-
},
2419
"devDependencies": {
2520
"@ethersproject/units": "^5.7.0",
2621
"@nomicfoundation/hardhat-foundry": "^1.0.0",

0 commit comments

Comments
 (0)