Reduce dos2unix log noise while preserving failure diagnostics

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Devin DooleyandCopilot App committed 2026-11-13 16:40:41 -08:00
1 parent 850bb5152c
commit bebe9094f0
1 file changed
+4 -1
+4 -1
View File
@@ -46,7 +46,10 @@ jobs:
echo "Checking ${#files[@]} gitignore files." echo "Checking ${#files[@]} gitignore files."
status=0 status=0
dos2unix --keep-bom -- "${files[@]}" || status=1 if ! dos2unix --keep-bom -- "${files[@]}" > "$RUNNER_TEMP/dos2unix.log" 2>&1; then
cat "$RUNNER_TEMP/dos2unix.log" >&2
status=1
fi
trailing-whitespace-fixer -- "${files[@]}" || status=1 trailing-whitespace-fixer -- "${files[@]}" || status=1
end-of-file-fixer -- "${files[@]}" || status=1 end-of-file-fixer -- "${files[@]}" || status=1