mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 02:01:02 -05:00
fix: fail when validating as expected (#5076)
Fail when USE_FIND_ALGORITHM is true and VALIDATE_ALL_CODEBASE is false as expected.
This commit is contained in:
parent
690d422fd6
commit
ededa44d36
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ function GetValidationInfo() {
|
||||||
info "Gathering user validation information..."
|
info "Gathering user validation information..."
|
||||||
|
|
||||||
if [[ "${USE_FIND_ALGORITHM}" == "true" ]] && [[ "${VALIDATE_ALL_CODEBASE}" == "false" ]]; then
|
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
|
fi
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
|
|
Loading…
Reference in a new issue