Update buildFileList.sh

fix syntax issue to pass bash linter
This commit is contained in:
IvanKuchin 2020-10-24 14:46:30 -04:00 committed by GitHub
parent ab3f02fe26
commit 98a0a194ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,12 +61,12 @@ function BuildFileList() {
# print header # # print header #
################ ################
debug "----------------------------------------------" debug "----------------------------------------------"
debug "Generating Diff with:[git diff-tree --no-commit-id --name-only -r ${GITHUB_SHA}]" debug "Generating Diff with:[git diff-tree --no-commit-id --name-only -r \"${GITHUB_SHA}]\""
################################################# #################################################
# Get the Array of files changed in the commits # # Get the Array of files changed in the commits #
################################################# #################################################
mapfile -t RAW_FILE_ARRAY < <(git diff-tree --no-commit-id --name-only -r ${GITHUB_SHA} 2>&1) mapfile -t RAW_FILE_ARRAY < <(git diff-tree --no-commit-id --name-only -r "${GITHUB_SHA}" 2>&1)
else else
################ ################
# PR event # # PR event #