codetools: skip star direcory when listing star directory

This commit is contained in:
mattias 2023-07-31 13:29:37 +02:00
parent aa8213a2b4
commit 3e4403e691

View File

@ -2165,6 +2165,7 @@ var
CurDir, ExcludeMask: String;
begin
CurDir:=ExtractFilename(CurSubDir);
if (CurDir='*') or (CurDir='**') then exit(true);
for i:=0 to Excludes.Count-1 do begin
ExcludeMask:=Excludes[i];
if FilenameIsMatching(ExcludeMask,CurSubDir,true)