Skip to content

Commit d06e8c1

Browse files
author
Sisyphus Agent
committed
fix(husky): add bun path to pre-push hook
1 parent 37efae4 commit d06e8c1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.husky/pre-push‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/sh
2+
export PATH="$HOME/.bun/bin:$PATH"
3+
24
# Check if bun version matches package.json
35
EXPECTED_VERSION=$(grep '"packageManager"' package.json | sed 's/.*"bun@\([^"]*\)".*/\1/')
46
CURRENT_VERSION=$(bun --version)

0 commit comments

Comments
 (0)