Skip to content

Commit f28df30

Browse files
committed
feat: better output.
1 parent 3f5c39d commit f28df30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kustdiff

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ function main {
8383
if [[ -z "$diff" ]]; then
8484
output="No differences found between $INPUT_BASE_REF and $INPUT_HEAD_REF"
8585
else
86-
output=$(printf "%s" "$diff")
86+
# Format the diff output cleanly
87+
output="Comparing changes between $INPUT_BASE_REF and $INPUT_HEAD_REF\n\n$diff"
8788
fi
8889

8990
escaped_output=${output//$'\n'/'%0A'}

0 commit comments

Comments
 (0)