From ededa44d363adc015264156d9c093aa6d5957ec4 Mon Sep 17 00:00:00 2001 From: Marco Ferrari Date: Sat, 30 Dec 2023 23:02:25 +0100 Subject: [PATCH] fix: fail when validating as expected (#5076) Fail when USE_FIND_ALGORITHM is true and VALIDATE_ALL_CODEBASE is false as expected. --- lib/functions/validation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/validation.sh b/lib/functions/validation.sh index 8cc0cddd..4b726883 100755 --- a/lib/functions/validation.sh +++ b/lib/functions/validation.sh @@ -8,7 +8,7 @@ function GetValidationInfo() { info "Gathering user validation information..." if [[ "${USE_FIND_ALGORITHM}" == "true" ]] && [[ "${VALIDATE_ALL_CODEBASE}" == "false" ]]; then - fail "Setting USE_FIND_ALGORITHM to true and VALIDATE_ALL_CODEBASE to false is not supported because super-linter relies on Git to validate changed files." + fatal "Setting USE_FIND_ALGORITHM to true and VALIDATE_ALL_CODEBASE to false is not supported because super-linter relies on Git to validate changed files." fi ###########################################