Fix to lint other .env.* files (#1336)

This commit is contained in:
Gabriel Diaz 2021-03-10 09:38:31 -05:00 committed by GitHub
parent 1124e51b7b
commit 07a16ed119
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -341,7 +341,7 @@ function BuildFileList() {
##################### #####################
# Get the ENV files # # Get the ENV files #
##################### #####################
elif [ "${FILE_TYPE}" == "env" ]; then elif [ "${FILE_TYPE}" == "env" ] || [[ "${BASE_FILE}" == *".env."* ]]; then
################################ ################################
# Append the file to the array # # Append the file to the array #
################################ ################################