From 9b67f424e6e005509b4d4dae2e72d8fdafb852ca Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Thu, 22 Dec 2016 15:38:53 +0100 Subject: [PATCH] The `path` command no longer looks for .babel or .nims files. --- src/nimble.nim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/nimble.nim b/src/nimble.nim index 48415d8..b236e9b 100644 --- a/src/nimble.nim +++ b/src/nimble.nim @@ -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