Skip to content

Commit

Permalink
Update post-merge
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Karow <58997957+JoeKarow@users.noreply.github.com>
  • Loading branch information
JoeKarow committed Feb 8, 2023
1 parent c682238 commit 8beca31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .husky/post-merge
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
. "$(dirname -- "$0")/_/husky.sh"

check_changed() {
if git diff HEAD^ HEAD --exit-code -- $1; then
if git diff HEAD^ HEAD --exit-code --quiet -- $1; then
echo "📦 No change to $1"
else
echo "📦 $1 has been modified, executing $2"
echo "📦 $1 has been modified"
eval "$2"
fi
}
Expand Down

0 comments on commit 8beca31

Please sign in to comment.