mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Improve POSIX shell compatibility in pre-push hook (#4053)
Co-authored-by: Peter Dave Hello <hsu@peterdavehello.org>
This commit is contained in:
parent
57038b75a0
commit
b7f606db34
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ $pnpm_cmd run check-types
|
|||
NEW_CHANGESETS=$(find .changeset -name "*.md" ! -name "README.md" | wc -l | tr -d ' ')
|
||||
echo "Changeset files: $NEW_CHANGESETS"
|
||||
|
||||
if [ "$NEW_CHANGESETS" == "0" ]; then
|
||||
if [ "$NEW_CHANGESETS" = "0" ]; then
|
||||
echo "-------------------------------------------------------------------------------------"
|
||||
echo "Changes detected. Please run 'pnpm changeset' to create a changeset if applicable."
|
||||
echo "-------------------------------------------------------------------------------------"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue