Skip to content

Commit 5084845

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

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

kustdiff

+2-3
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,12 @@ function main {
8383
if [[ -z "$diff" ]]; then
8484
output="No differences found between $INPUT_BASE_REF and $INPUT_HEAD_REF"
8585
else
86-
# Format the diff output cleanly
87-
output="Comparing changes between $INPUT_BASE_REF and $INPUT_HEAD_REF\n\n$diff"
86+
# Just pass through the raw git diff output
87+
output="$diff"
8888
fi
8989

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

92-
# If escaped output is longer than 65000 characters return "output to large to print as a github comment"
9392
if [ ${#escaped_output} -gt 65000 ]; then
9493
escaped_output="Output is greater than 65000 characters, and therefore too large to print as a github comment."
9594
fi

0 commit comments

Comments
 (0)