Skip to content

Commit 2180fda

Browse files
Merge pull request #130 from guardian/chore/add-bun-install-post-merge-hook
Chore: Make sure changes actually present in bun.lock or **/packages.json
2 parents 82a977b + f9805a1 commit 2180fda

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lefthook.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ pre-push:
1919
post-merge:
2020
commands:
2121
install:
22+
files: git diff --name-only ORIG_HEAD HEAD
2223
glob: '{bun.lock,**/package.json}'
2324
run: printf '\033[0;31mDependencies have changed, please run "bun install"\033[0m\n'

0 commit comments

Comments
 (0)