Skip to content

Commit 425f2b3

Browse files
chore: update error message
1 parent 3080533 commit 425f2b3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lefthook.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ pre-commit:
1111
glob: "package.json"
1212
run: |
1313
if git diff --cached package.json | grep -q '^\+.*"version":'; then
14-
echo "❌ Error: Direct version bumps in package.json are not allowed."
15-
echo "Please use the release workflow to bump versions."
14+
echo "❌ Please don't edit the version manually. Version bumps are handled automatically when the package is released via the release workflow."
1615
exit 1
1716
fi
1817
commit-msg:

0 commit comments

Comments
 (0)