nimble accepts a .nimble file that is a link

This commit is contained in:
Xiao-Yong 2017-06-07 23:32:42 -05:00 committed by GitHub
commit a69d7563f4

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":