Skip to content

Commit

Permalink
Update diff-sha.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Dec 16, 2022
1 parent 2e7b724 commit e8733f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diff-sha.sh
Expand Up @@ -172,7 +172,7 @@ else
else
echo "::debug::Common ancestor: $COMMON_ANCESTOR"

DATE=$(git show --date=iso8601 --format=%cd "$COMMON_ANCESTOR")
DATE=$(git show --quiet --date=iso8601 --format=%cd "$COMMON_ANCESTOR")

if [[ -z "$DATE" ]]; then
echo "::error::Unable to locate a date for the common ancestor: $COMMON_ANCESTOR"
Expand Down

0 comments on commit e8733f6

Please sign in to comment.