mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 20:52:12 -05:00
Update buildFileList.sh
fix syntax issue to pass bash linter
This commit is contained in:
parent
ab3f02fe26
commit
98a0a194ad
1 changed files with 2 additions and 2 deletions
|
@ -61,12 +61,12 @@ function BuildFileList() {
|
|||
# print header #
|
||||
################
|
||||
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 #
|
||||
#################################################
|
||||
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
|
||||
################
|
||||
# PR event #
|
||||
|
|
Loading…
Reference in a new issue