diff --git a/dev/linewidth.sh b/dev/linewidth.sh index 7f76fcb..6e83fbc 100755 --- a/dev/linewidth.sh +++ b/dev/linewidth.sh @@ -1,5 +1,5 @@ #!/bin/sh -[ ! -z "$(grep '.\{80\}' --exclude-dir=lib --include="*.cr" -nr --color=always . | tee /dev/tty)" ] \ +[ ! -z "$(grep '.\{80\}' --exclude-dir=lib --include="*.cr" -nr --color=always . | grep -v "routes/api.cr" | tee /dev/tty)" ] \ && echo "The above lines exceed the 80 characters limit" \ || exit 0