Skip to content

Commit

Permalink
chore: remove unused code (#571)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Aug 13, 2022
1 parent abfa34d commit 0c7f7d1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion diff-sha.sh
Expand Up @@ -36,7 +36,6 @@ git rev-parse --quiet --verify "$CURRENT_SHA^{commit}" 1>/dev/null 2>&1 && exit_

if [[ $exit_status -ne 0 ]]; then
echo "::error::Unable to locate the current sha: $CURRENT_SHA"
git --version
echo "::error::You seem to be missing 'fetch-depth: 0' or 'fetch-depth: 2'. See https://github.com/tj-actions/changed-files#usage"
exit 1
else
Expand Down

0 comments on commit 0c7f7d1

Please sign in to comment.