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:
parent
bacda0ec4f
commit
c2296c1b04
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue