Skip to content

Commit

Permalink
0.6.3: fix doctoring nimble
Browse files Browse the repository at this point in the history
  • Loading branch information
disruptek committed Dec 23, 2019
1 parent ce3c960 commit 427773f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion nimph.nimble
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "0.6.2"
version = "0.6.3"
author = "disruptek"
description = "nim package handler from the future"
license = "MIT"
Expand Down
4 changes: 0 additions & 4 deletions src/nimph/dependency.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 427773f

Please sign in to comment.