Skip to content

Commit 9acd808

Browse files
committed
Make husky v9 changes & remove husky workaround
- I tested on windows 11 git bash and it's no longer an issue
1 parent 6d241f6 commit 9acd808

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

.husky/common.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

.husky/pre-commit

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
. "$(dirname "$0")/common.sh"
4-
51
yarn workspaces foreach --interlaced --verbose --jobs 1 run pre-commit

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"datagateway-dataview": "yarn workspace datagateway-dataview dev",
2525
"datagateway-download": "yarn workspace datagateway-download dev",
2626
"datagateway-search": "yarn workspace datagateway-search dev",
27-
"postinstall": "husky install"
27+
"postinstall": "husky"
2828
},
2929
"packageManager": "yarn@3.8.7"
3030
}

0 commit comments

Comments
 (0)