Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit 2e1e2ed

Browse files
authored
format: no CRLF line endings. (#259)
1 parent f294d25 commit 2e1e2ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/format.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ set -e
2323
FIND="find . -name .git -prune -o -name .build -prune -o"
2424
sed -i 's/Open[c]ensus/OpenCensus/g' $($FIND -type f -print)
2525
sed -i 's/Stack[D]river/Stackdriver/g' $($FIND -type f -print)
26+
# No CRLF line endings.
27+
sed -i 's/\r$//' $($FIND -type f -print)
2628
# No trailing spaces.
2729
sed -i 's/ \+$//' $($FIND -type f -print)
2830
# For easier debugging: print the version because it affects the formatting.

0 commit comments

Comments
 (0)