mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 03:15:31 -04:00
Exclude /src/routes/api.cr from line width check
This commit is contained in:
parent
1f795889a9
commit
1000b02ae0
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/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" \
|
&& echo "The above lines exceed the 80 characters limit" \
|
||||||
|| exit 0
|
|| exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user