3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-01-17 19:17:45 +00:00

Fixed log message.

This commit is contained in:
Tonye Jack 2021-05-01 16:28:18 -04:00
parent 18496eb7e4
commit 78879f7581

View file

@ -82,7 +82,7 @@ runs:
ALL_MODIFIED_FILES=$(git diff --diff-filter="ACM" --name-only "$HEAD_SHA" | tr "\n" "$INPUT_SEPARATOR" | sed -E "s/($INPUT_SEPARATOR)$//")
echo "All changed files: $ALL_CHANGED"
echo "All modified files: ALL_MODIFIED_FILES"
echo "All modified files: $ALL_MODIFIED_FILES"
else
ADDED_ARRAY=()
COPIED_ARRAY=()
@ -122,7 +122,7 @@ runs:
ALL_MODIFIED_FILES=$(echo "${ALL_MODIFIED_FILES_ARRAY[@]}" | sed -E "s/($INPUT_SEPARATOR)$//")
echo "All changed files: $ALL_CHANGED"
echo "All modified files: ALL_MODIFIED_FILES"
echo "All modified files: $ALL_MODIFIED_FILES"
# shellcheck disable=SC2001
OUTPUT_ALL_MODIFIED_FILES=$(echo "$ALL_MODIFIED_FILES" | sed "s/$INPUT_SEPARATOR/ /g")