Skip to content

Commit bb3f2d1

Browse files
committed
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

+1-1
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)