Merge pull request #61 from github/fixBugs

fix name
This commit is contained in:
Lukas Gravley 2020-02-04 07:33:55 -06:00 committed by GitHub
commit 34f2e4ad95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1142,7 +1142,7 @@ LintCodebase()
############################################################ ############################################################
if [ ${#FILE_ARRAY[@]} -eq 0 ] && [ "$VALIDATE_ALL_CODEBASE" == "false" ]; then if [ ${#FILE_ARRAY[@]} -eq 0 ] && [ "$VALIDATE_ALL_CODEBASE" == "false" ]; then
# No files found in commit and user has asked to not validate code base # No files found in commit and user has asked to not validate code base
echo " - No files found in chageset to lint for language:[JSON]" echo " - No files found in chageset to lint for language:[$FILE_TYPE]"
elif [ ${#FILE_ARRAY[@]} -ne 0 ]; then elif [ ${#FILE_ARRAY[@]} -ne 0 ]; then
# We have files added to array of files to check # We have files added to array of files to check
LIST_FILES=("${FILE_ARRAY[@]}") # Copy the array into list LIST_FILES=("${FILE_ARRAY[@]}") # Copy the array into list