The path command no longer looks for .babel or .nims files.

This commit is contained in:
Dominik Picheta 2016-12-22 15:38:53 +01:00
commit 9b67f424e6

View file

@ -748,11 +748,9 @@ proc listPaths(options: Options) =
continue
let
nimScriptFile = path / name.addFileExt("nims")
babelFile = path / name.addFileExt("babel")
nimbleFile = path / name.addFileExt("nimble")
hasSpec = nimScriptFile.existsFile or
nimbleFile.existsFile or babelFile.existsFile
hasSpec = nimbleFile.existsFile
if hasSpec:
var pkgInfo = getPkgInfo(path, options)
var v: VersionAndPath