The path command no longer looks for .babel or .nims files.
This commit is contained in:
parent
34af12a326
commit
9b67f424e6
1 changed files with 2 additions and 4 deletions
|
|
@ -748,11 +748,9 @@ proc listPaths(options: Options) =
|
||||||
continue
|
continue
|
||||||
|
|
||||||
let
|
let
|
||||||
nimScriptFile = path / name.addFileExt("nims")
|
|
||||||
babelFile = path / name.addFileExt("babel")
|
|
||||||
nimbleFile = path / name.addFileExt("nimble")
|
nimbleFile = path / name.addFileExt("nimble")
|
||||||
hasSpec = nimScriptFile.existsFile or
|
hasSpec = nimbleFile.existsFile
|
||||||
nimbleFile.existsFile or babelFile.existsFile
|
|
||||||
if hasSpec:
|
if hasSpec:
|
||||||
var pkgInfo = getPkgInfo(path, options)
|
var pkgInfo = getPkgInfo(path, options)
|
||||||
var v: VersionAndPath
|
var v: VersionAndPath
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue