fixes niminst regression

This commit is contained in:
Andreas Rumpf 2016-06-13 12:17:54 +02:00
commit 82ccb09b61

View file

@ -256,7 +256,7 @@ proc addFiles(s: var seq[string], patterns: seq[string]) =
for f in walkFiles(p):
if existsDir(f):
walkDirRecursively(s, f, p, false)
elif not ignoreFile(f, f, false):
elif not ignoreFile(f, p, false):
add(s, unixToNativePath(f))
inc(i)
if i == 0: echo("[Warning] No file found that matches: " & p)