Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check command errors on ~ semver range #36

Open
codespool opened this issue Nov 4, 2022 · 0 comments
Open

Check command errors on ~ semver range #36

codespool opened this issue Nov 4, 2022 · 0 comments

Comments

@codespool
Copy link
Collaborator

When checking ink! version:
https://github.com/AstarNetwork/swanky-cli/blob/f5789709931373dcad6b3c3f54668485c3020014/src/commands/check/index.ts#L119
semver.gt() errors out when ~ is used in the version tag.

Could be gt() doesn't support the range operator, and it needs to be checked with a different method in that case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant