Skip to content

Commit

Permalink
Further improve an error message (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
DilumAluthge authored May 9, 2021
1 parent dd45a42 commit b1e291f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "CompatEntryUtilities"
uuid = "8be7a408-1a4a-465c-8be3-3898d13eb8a5"
authors = ["Dilum Aluthge", "contributors"]
version = "2.0.5"
version = "2.0.6"

[deps]
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Expand Down
2 changes: 1 addition & 1 deletion src/CompatEntryUtilities.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function _semver_spec_string(r::PKG_VERSIONS.VersionRange)
return "≥0"::String
elseif m == 0
msg = "This version range cannot be represented using SemVer notation"
@error(msg, r)
@error(msg, r, r.lower, r.upper)
throw(ArgumentError(msg))
elseif n == 0
return string("", join(r.lower.t, "."),)::String
Expand Down

2 comments on commit b1e291f

@DilumAluthge
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/36345

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v2.0.6 -m "<description of version>" b1e291f15c69c831ebc44f88c81d8cc78acbe960
git push origin v2.0.6

Please sign in to comment.