We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nimble path
1 parent 519bb2b commit 2cda615Copy full SHA for 2cda615
src/nimble.nim
@@ -857,7 +857,7 @@ proc listPaths(options: Options) =
857
var installed: seq[VersionAndPath] = @[]
858
# There may be several, list all available ones and sort by version.
859
for pkg in pkgs:
860
- if name == pkg.basicInfo.name:
+ if name == pkg.basicInfo.name and withinRange(pkg.basicInfo.version, version):
861
installed.add((pkg.basicInfo.version, pkg.getRealDir))
862
863
if installed.len > 0:
0 commit comments