This commit is contained in:
Lucas Gravley 2019-10-28 08:42:27 -05:00
parent 52a30b1170
commit 40e60c3d53

View file

@ -1712,7 +1712,7 @@ BuildFileList()
# Get the Array of files changed in the comits # # Get the Array of files changed in the comits #
################################################ ################################################
# shellcheck disable=SC2207 # 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 # # Load the error code #
@ -1724,7 +1724,7 @@ BuildFileList()
############################## ##############################
if [ $ERROR_CODE -ne 0 ]; then if [ $ERROR_CODE -ne 0 ]; then
# Error # 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[*]}]" echo "ERROR:[${RAW_FILE_ARRAY[*]}]"
exit 1 exit 1
fi fi