Skip to content

Commit

Permalink
Fix post-merge hook echo command (#36077)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc authored Oct 7, 2024
1 parent e8bcb91 commit 798b93e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .husky/post-merge
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ if [ -f ".husky/_/history" ]; then
lastHash=$(cat ./.husky/_/history)
isUpdated=$(git diff $lastHash HEAD -- ./package.json)
if [ "$isUpdated" != "" ]; then
echo "\n⚠🔥 'package.json' has changed. Please run 'yarn install'! 🔥"
echo
echo "⚠🔥 'package.json' has changed. Please run 'yarn install'! 🔥"
fi
else
yarn install
Expand Down

0 comments on commit 798b93e

Please sign in to comment.