HookFunctions: Exclude markdown files from trailing whitespace check
This commit is contained in:
@ -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" ]
|
||||
|
||||
Reference in New Issue
Block a user