Skip to content

Commit 09bc9a9

Browse files
committed
removed a new line at the end
1 parent f30f015 commit 09bc9a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ runs:
121121
{ ${DIKTAT_CMD} "${DIKTAT_ARGS[@]}" "${INPUT_PATHS[@]}" | tee diktat.log; } && exit_code=$? || exit_code=$?
122122
total_lines=$(wc -l diktat.log | cut -d ' ' -f1)
123123
summary_line_number=$(grep -n 'Summary error count (descending) by rule:' diktat.log | cut -d: -f1)
124-
summary_line=$(tail -n $((total_lines - summary_line_number)) diktat.log | sed -e 's/^ //g' | awk '{ printf("%s,", $0) } END { printf "\n" }' | sed -e 's/,$//g')
124+
summary_line=$(tail -n $((total_lines - summary_line_number)) diktat.log | sed -e 's/^ //g' | awk '{ printf("%s,", $0) }' | sed -e 's/,$//g')
125125
echo "summary-line=${summary_line}" >>$GITHUB_OUTPUT
126126
rm -f diktat.log
127127
echo "exit-code=${exit_code}" >>$GITHUB_OUTPUT

0 commit comments

Comments
 (0)