Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bb3f2d1

Browse files
committedDec 24, 2024·
use fatal instead of error to report exit status != 0
1 parent ef5265d commit bb3f2d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎.github/workflows/scripts/check-link-foundation.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ popd || fatal "Failed to change directory back to the root directory."
5454

5555
# exit code is the opposite of the grep exit code
5656
if [ "$SUCCESS" -eq 0 ]; then
57-
error "❌ At least one foundation lib was found, reporting the error."
57+
fatal "❌ At least one foundation lib was found, reporting the error."
5858
else
5959
log "✅ No foundation lib found, congrats!" && exit 0
6060
fi

0 commit comments

Comments
 (0)
Please sign in to comment.