diff --git a/lib/buildFileList.sh b/lib/buildFileList.sh index 0bba876f..e856c341 100755 --- a/lib/buildFileList.sh +++ b/lib/buildFileList.sh @@ -81,11 +81,6 @@ function BuildFileList() { echo "----------------------------------------------" echo "Files that have been modified in the commit(s):" for FILE in "${RAW_FILE_ARRAY[@]}"; do - ############## - # Print file # - ############## - echo "File:[$FILE]" - ########################### # Get the files extension # ########################### @@ -93,6 +88,11 @@ function BuildFileList() { # reverse it back, substitute to lowercase FILE_TYPE=$(basename "$FILE" | rev | cut -f1 -d'.' | rev | awk '{print tolower($0)}') + ############## + # Print file # + ############## + echo "File:[$FILE], File_type:[$FILE_TYPE]" + ######### # DEBUG # ######### diff --git a/lib/linter.sh b/lib/linter.sh index 43acd3ac..96f8e6a0 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -451,8 +451,7 @@ DetectOpenAPIFile() { } ################################################################################ #### Function DetectARMFile #################################################### -DetectARMFile() -{ +DetectARMFile() { ################ # Pull in vars # ################