* Fix #20628 for Windows * Move isRegular - !isSpecial and onlyRegular - skipSpecial * Forgot to change it in 1 more place
This commit is contained in:
parent
e68a6ea759
commit
779b1cc5be
7 changed files with 41 additions and 38 deletions
|
|
@ -989,7 +989,7 @@ iterator walkDirBasic(dir: string, walkOptC: WalkOptComp[Pattern]): string
|
|||
let rightDirForFiles = d.isRightDirectory(walkOptC)
|
||||
var files = newSeq[string]()
|
||||
var dirs = newSeq[string]()
|
||||
for kind, path in walkDir(d, onlyRegular = true):
|
||||
for kind, path in walkDir(d, skipSpecial = true):
|
||||
case kind
|
||||
of pcFile:
|
||||
if path.hasRightPath(walkOptC) and rightDirForFiles:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue