mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 07:12:11 -05:00
quotes
This commit is contained in:
parent
52a30b1170
commit
40e60c3d53
1 changed files with 2 additions and 2 deletions
|
@ -1712,7 +1712,7 @@ BuildFileList()
|
|||
# Get the Array of files changed in the comits #
|
||||
################################################
|
||||
# shellcheck disable=SC2207
|
||||
RAW_FILE_ARRAY=($(cd "$GITHUB_WORKSPACE" || exit; git diff --name-only "master..$GITHUB_SHA" 2>&1))
|
||||
RAW_FILE_ARRAY=($(cd "$GITHUB_WORKSPACE" || exit; git diff --name-only master..$GITHUB_SHA 2>&1))
|
||||
|
||||
#######################
|
||||
# Load the error code #
|
||||
|
@ -1724,7 +1724,7 @@ BuildFileList()
|
|||
##############################
|
||||
if [ $ERROR_CODE -ne 0 ]; then
|
||||
# Error
|
||||
echo "ERROR! failed tgo gain list of all files changed!"
|
||||
echo "ERROR! Failed to gain a list of all files changed!"
|
||||
echo "ERROR:[${RAW_FILE_ARRAY[*]}]"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue