HookFunctions: Exclude markdown files from trailing whitespace check

This commit is contained in:
Will Bainbridge
2018-10-26 09:31:29 +01:00
parent 43da4fefb2
commit 0ae01264e4
2 changed files with 2 additions and 4 deletions

View File

@ -103,7 +103,6 @@ dictBanner="(\
)*?
\\\\\*---------------------------------------------------------------------------\*/"
#-----------------------------------------------------------------------------
#
@ -399,7 +398,7 @@ checkBanner()
for f in $fileList
do
fFile="${f##*/}"
[[ "$fFile" = *.* ]] && fExt="${fFile##*.}" || fExt=""
[[ "$fFile" = "*.*" ]] && fExt="${fFile##*.}" || fExt=""
# Skip links
if [ -h "$f" ]