mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 23:51:07 -05:00
fixed it
This commit is contained in:
parent
7616d271e1
commit
e339a967c0
1 changed files with 2 additions and 2 deletions
|
@ -1229,7 +1229,7 @@ BuildFileList()
|
||||||
#################
|
#################
|
||||||
# Check if bash #
|
# Check if bash #
|
||||||
#################
|
#################
|
||||||
if [[ "$GET_FILE_TYPE_CMD" =~ *"Bourne-Again shell script"* ]]; then
|
if [[ "$GET_FILE_TYPE_CMD" == *"Bourne-Again shell script"* ]]; then
|
||||||
#######################
|
#######################
|
||||||
# It is a bash script #
|
# It is a bash script #
|
||||||
#######################
|
#######################
|
||||||
|
@ -1243,7 +1243,7 @@ BuildFileList()
|
||||||
# Set the READ_ONLY_CHANGE_FLAG since this could be exec #
|
# Set the READ_ONLY_CHANGE_FLAG since this could be exec #
|
||||||
##########################################################
|
##########################################################
|
||||||
READ_ONLY_CHANGE_FLAG=1
|
READ_ONLY_CHANGE_FLAG=1
|
||||||
elif [[ "$GET_FILE_TYPE_CMD" =~ *"Ruby script"* ]]; then
|
elif [[ "$GET_FILE_TYPE_CMD" == *"Ruby script"* ]]; then
|
||||||
#######################
|
#######################
|
||||||
# It is a Ruby script #
|
# It is a Ruby script #
|
||||||
#######################
|
#######################
|
||||||
|
|
Loading…
Reference in a new issue