Merge pull request #364 from jxy/patch-1
nimble accepts a .nimble file that is a link
This commit is contained in:
commit
18a860ff14
1 changed files with 1 additions and 1 deletions
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue