mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-29 17:41:00 -05:00
fixed bug
This commit is contained in:
parent
4194a7a611
commit
4ccd6b35c9
1 changed files with 9 additions and 0 deletions
|
@ -143,9 +143,13 @@ DEFAULT_IFS="$IFS" # Get the Default IFS for updating
|
||||||
###############################################################
|
###############################################################
|
||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
DEFAULT_DISABLE_ERRORS='false' # Default to enabling errors
|
DEFAULT_DISABLE_ERRORS='false' # Default to enabling errors
|
||||||
|
# shellcheck disable=SC2034
|
||||||
RAW_FILE_ARRAY=() # Array of all files that were changed
|
RAW_FILE_ARRAY=() # Array of all files that were changed
|
||||||
|
# shellcheck disable=SC2034
|
||||||
READ_ONLY_CHANGE_FLAG=0 # Flag set to 1 if files changed are not txt or md
|
READ_ONLY_CHANGE_FLAG=0 # Flag set to 1 if files changed are not txt or md
|
||||||
|
# shellcheck disable=SC2034
|
||||||
TEST_CASE_FOLDER='.automation/test' # Folder for test cases we should always ignore
|
TEST_CASE_FOLDER='.automation/test' # Folder for test cases we should always ignore
|
||||||
|
# shellcheck disable=SC2034
|
||||||
DEFAULT_ANSIBLE_DIRECTORY="$GITHUB_WORKSPACE/ansible" # Default Ansible Directory
|
DEFAULT_ANSIBLE_DIRECTORY="$GITHUB_WORKSPACE/ansible" # Default Ansible Directory
|
||||||
|
|
||||||
##########################
|
##########################
|
||||||
|
@ -603,6 +607,11 @@ Footer()
|
||||||
###########################
|
###########################
|
||||||
ERROR_COUNTER="ERRORS_FOUND_$LANGUAGE"
|
ERROR_COUNTER="ERRORS_FOUND_$LANGUAGE"
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Fix Integer Expression errors #
|
||||||
|
#################################
|
||||||
|
ERROR_COUNTER="${ERROR_COUNTER/.*}"
|
||||||
|
|
||||||
##################
|
##################
|
||||||
# Print if not 0 #
|
# Print if not 0 #
|
||||||
##################
|
##################
|
||||||
|
|
Loading…
Reference in a new issue