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

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() {