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

feat: sanitize gno.mod #524

Merged
merged 2 commits into from
Feb 18, 2023
Merged

Conversation

harry-hov
Copy link
Contributor

@harry-hov harry-hov commented Feb 17, 2023

Description

This PR implements logic to sanitize gno.mod file. Sanitization includes:

  • Removing duplicate require modules. (Higher version takes priority)
  • Removing duplicate replace modules. (Later replacements take priority over earlier ones)

How has this been tested?

test suite and manually

Related #462
Related #479

@harry-hov harry-hov self-assigned this Feb 17, 2023
@harry-hov harry-hov marked this pull request as ready for review February 17, 2023 16:59
@harry-hov harry-hov requested a review from a team as a code owner February 17, 2023 16:59
@moul moul merged commit b4b0d88 into gnolang:master Feb 18, 2023
@harry-hov harry-hov mentioned this pull request Feb 20, 2023
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants