Validate local git repo when ignoring files (#4965)

Co-authored-by: Zack Koppert <zkoppert@github.com>
This commit is contained in:
Marco Ferrari 2023-12-18 19:31:06 +01:00 committed by GitHub
parent 30317804b1
commit ae7081660b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -884,7 +884,7 @@ debug "TYPESCRIPT_STANDARD_TSCONFIG_FILE: ${TYPESCRIPT_STANDARD_TSCONFIG_FILE}"
############################
GetValidationInfo
if [[ "${USE_FIND_ALGORITHM}" == "false" ]]; then
if [[ "${USE_FIND_ALGORITHM}" == "false" ]] || [[ "${IGNORE_GITIGNORED_FILES}" == "true" ]]; then
debug "Validate the local Git environment"
ValidateLocalGitRepository
ValidateGitShaReference