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