Merge pull request #364 from jxy/patch-1

nimble accepts a .nimble file that is a link
This commit is contained in:
Dominik Picheta 2017-06-12 17:36:30 +01:00 committed by GitHub
commit 18a860ff14

View file

@ -257,7 +257,7 @@ proc findNimbleFile*(dir: string; error: bool): string =
result = ""
var hits = 0
for kind, path in walkDir(dir):
if kind == pcFile:
if kind in {pcFile, pcLinkToFile}:
let ext = path.splitFile.ext
case ext
of ".babel", ".nimble":