Skip to content

Commit

Permalink
fix: json output (#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Jan 5, 2023
1 parent bacda0e commit c2296c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get-changed-paths.sh
Expand Up @@ -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() {
Expand Down

0 comments on commit c2296c1

Please sign in to comment.