Merge remote-tracking branch 'scrawl/tabs'
commit
96880b4dfe
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
OUTPUT=$(grep -nRP '\t' --include=\*.{cpp,hpp,c,h} apps components)
|
||||||
|
|
||||||
|
if [[ $OUTPUT ]] ; then
|
||||||
|
echo "Error: Tab characters found!"
|
||||||
|
echo $OUTPUT
|
||||||
|
exit 1
|
||||||
|
fi
|
Loading…
Reference in New Issue