From 427773f969c26a5de624a9731f822849d10a402c Mon Sep 17 00:00:00 2001 From: Andy Davidoff Date: Mon, 23 Dec 2019 13:53:30 -0500 Subject: [PATCH] 0.6.3: fix doctoring nimble --- nimph.nimble | 2 +- src/nimph/dependency.nim | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/nimph.nimble b/nimph.nimble index dc288c0..7bbfc58 100644 --- a/nimph.nimble +++ b/nimph.nimble @@ -1,4 +1,4 @@ -version = "0.6.2" +version = "0.6.3" author = "disruptek" description = "nim package handler from the future" license = "MIT" diff --git a/src/nimph/dependency.nim b/src/nimph/dependency.nim index 194fd55..6915c8c 100644 --- a/src/nimph/dependency.nim +++ b/src/nimph/dependency.nim @@ -262,8 +262,6 @@ iterator symbolicMatch*(project: Project; req: Requirement): Release = proc symbolicMatch*(project: Project; req: Requirement; release: Release): bool = ## convenience - if project.tags == nil: - raise newException(Defect, "fetch tags for the project first") let release = project.peelRelease(release) for match in project.symbolicMatch(req): result = match == release @@ -279,8 +277,6 @@ proc symbolicMatch*(project: var Project; req: Requirement; release: Release): b proc symbolicMatch*(project: Project; req: Requirement): bool = ## convenience - if project.tags == nil: - raise newException(Defect, "fetch tags for the project first") for match in project.symbolicMatch(req): result = true break