Skip to content

Commit

Permalink
set locale when checking line length
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Aparicio committed May 7, 2014
1 parent 211fb0c commit f730b38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions check-line-length.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

export LANG="en_US.UTF-8"

echo "Checking if any rust file has a line longer than 75 characters"

offenders=$(grep -Pl ".{76}" src/*/*.rs)
Expand Down

0 comments on commit f730b38

Please sign in to comment.