mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-23 05:02:15 -05:00
Parse DEFAULT_ERRORS variable
This commit is contained in:
parent
4d2b216eaf
commit
2338c2c98e
1 changed files with 24 additions and 0 deletions
|
@ -1096,6 +1096,30 @@ GetValidationInfo()
|
||||||
# Set the value
|
# Set the value
|
||||||
ANSIBLE_DIRECTORY="$TEMP_ANSIBLE_DIRECTORY"
|
ANSIBLE_DIRECTORY="$TEMP_ANSIBLE_DIRECTORY"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
###############################
|
||||||
|
# Get the disable errors flag #
|
||||||
|
###############################
|
||||||
|
if [ -z "$DISABLE_ERRORS" ]; then
|
||||||
|
##################################
|
||||||
|
# No flag passed, set to default #
|
||||||
|
##################################
|
||||||
|
DISABLE_ERRORS="$DEFAULT_DISABLE_ERRORS"
|
||||||
|
fi
|
||||||
|
|
||||||
|
###############################
|
||||||
|
# Convert string to lowercase #
|
||||||
|
###############################
|
||||||
|
DSIABLE_ERRORS=$(echo "$DISABLE_ERRORS" | awk '{print tolower($0)}')
|
||||||
|
|
||||||
|
############################
|
||||||
|
# Set to false if not true #
|
||||||
|
############################
|
||||||
|
if [ "$DISABLE_ERRORS" != "true" ]; then
|
||||||
|
ACTIONS_RUNNER_DEBUG="false"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
############################
|
############################
|
||||||
# Get the run verbose flag #
|
# Get the run verbose flag #
|
||||||
|
|
Loading…
Reference in a new issue