3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-03-05 21:06:25 +00:00

fix: json output (#927)

This commit is contained in:
Tonye Jack 2023-01-05 02:09:03 -07:00 committed by GitHub
parent bacda0ec4f
commit c2296c1b04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ function json_output() {
fi
# shellcheck disable=SC2086
jq $JQ_ARGS '@json' | tr "\n" " " | sed "s| $||g"
jq $JQ_ARGS 'split("\n") | @json' | tr -s /
}
function get_diff() {