mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-09 18:43:34 -05:00
hunting a bug
This commit is contained in:
parent
e4752580dd
commit
bf045db303
2 changed files with 6 additions and 7 deletions
|
@ -81,11 +81,6 @@ function BuildFileList() {
|
||||||
echo "----------------------------------------------"
|
echo "----------------------------------------------"
|
||||||
echo "Files that have been modified in the commit(s):"
|
echo "Files that have been modified in the commit(s):"
|
||||||
for FILE in "${RAW_FILE_ARRAY[@]}"; do
|
for FILE in "${RAW_FILE_ARRAY[@]}"; do
|
||||||
##############
|
|
||||||
# Print file #
|
|
||||||
##############
|
|
||||||
echo "File:[$FILE]"
|
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
# Get the files extension #
|
# Get the files extension #
|
||||||
###########################
|
###########################
|
||||||
|
@ -93,6 +88,11 @@ function BuildFileList() {
|
||||||
# reverse it back, substitute to lowercase
|
# reverse it back, substitute to lowercase
|
||||||
FILE_TYPE=$(basename "$FILE" | rev | cut -f1 -d'.' | rev | awk '{print tolower($0)}')
|
FILE_TYPE=$(basename "$FILE" | rev | cut -f1 -d'.' | rev | awk '{print tolower($0)}')
|
||||||
|
|
||||||
|
##############
|
||||||
|
# Print file #
|
||||||
|
##############
|
||||||
|
echo "File:[$FILE], File_type:[$FILE_TYPE]"
|
||||||
|
|
||||||
#########
|
#########
|
||||||
# DEBUG #
|
# DEBUG #
|
||||||
#########
|
#########
|
||||||
|
|
|
@ -451,8 +451,7 @@ DetectOpenAPIFile() {
|
||||||
}
|
}
|
||||||
################################################################################
|
################################################################################
|
||||||
#### Function DetectARMFile ####################################################
|
#### Function DetectARMFile ####################################################
|
||||||
DetectARMFile()
|
DetectARMFile() {
|
||||||
{
|
|
||||||
################
|
################
|
||||||
# Pull in vars #
|
# Pull in vars #
|
||||||
################
|
################
|
||||||
|
|
Loading…
Reference in a new issue