mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 07:31:05 -05:00
Fix buggy diff cmd (#1314)
* Fix buggy diff cmd * Fix new line for diff cmd output Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
This commit is contained in:
parent
8adde4b298
commit
f58e607c4b
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ function GenerateFileDiff() {
|
|||
###################################################
|
||||
# Map command output to an array to proper handle #
|
||||
###################################################
|
||||
mapfile -t RAW_FILE_ARRAY < <(echo "$DIFF_TREE_CMD_OUTPUT")
|
||||
mapfile -t RAW_FILE_ARRAY < <(echo -n "$CMD_OUTPUT")
|
||||
debug "RAW_FILE_ARRAY contents: ${RAW_FILE_ARRAY[*]}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue