Skip to content

Commit 9a78967

Browse files
committed
Remove empty lines in file
1 parent 2f90016 commit 9a78967

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/platform-benchmark.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,12 @@ jobs:
7979
file_name=$(basename "$report")
8080
platform="${file_name%.*}"
8181
echo "File $file_name"
82+
# remove empty lines
83+
sed -i -e '/^[[:space:]]*$/d' $report
8284
echo "::group::Report CSV"
8385
cat "$report"
8486
echo "::endgroup::"
85-
markdown_table=$(csv2md "$report" | sed -e '/^[[:space:]]*$/d')
87+
markdown_table=$(csv2md "$report")
8688
echo "::group::Report Markdown"
8789
echo "$markdown_table"
8890
echo "::endgroup::"

0 commit comments

Comments
 (0)