Fixes breaking changes in 0.18.0.
This commit is contained in:
parent
5dc0404dee
commit
fd84b139bd
1 changed files with 1 additions and 1 deletions
|
|
@ -463,7 +463,7 @@ proc iterFilesWithExt(dir: string, pkgInfo: PackageInfo,
|
||||||
if kind == pcDir:
|
if kind == pcDir:
|
||||||
iterFilesWithExt(path, pkgInfo, action)
|
iterFilesWithExt(path, pkgInfo, action)
|
||||||
else:
|
else:
|
||||||
if path.splitFile.ext[1 .. ^1] in pkgInfo.installExt:
|
if path.splitFile.ext.substr(1) in pkgInfo.installExt:
|
||||||
action(path)
|
action(path)
|
||||||
|
|
||||||
proc iterFilesInDir(dir: string, action: proc (f: string)) =
|
proc iterFilesInDir(dir: string, action: proc (f: string)) =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue