Skip to content

fix: strip ignore directives from go.mod/go.work#143

Open
miguelvr wants to merge 1 commit into
moonrepo:masterfrom
miguelvr:miguelvr/strip-ignore
Open

fix: strip ignore directives from go.mod/go.work#143
miguelvr wants to merge 1 commit into
moonrepo:masterfrom
miguelvr:miguelvr/strip-ignore

Conversation

@miguelvr
Copy link
Copy Markdown

Adds support for Go 1.24's new ignore directive in both go.mod and go.work files. The main changes ensure that the parser can handle and ignore these directives, preventing errors with the current version of the gomod-parser2 library.

@miguelvr
Copy link
Copy Markdown
Author

@milesj would love a review, if possible

@milesj
Copy link
Copy Markdown
Contributor

milesj commented May 22, 2026

@miguelvr Can you also contribute the change directly to https://github.com/baz-scm/gomod-parser ? I don't want to have to maintain this going forward.

@miguelvr
Copy link
Copy Markdown
Author

@miguelvr Can you also contribute the change directly to baz-scm/gomod-parser ? I don't want to have to maintain this going forward.

@milesj already did! here's the PR baz-scm/gomod-parser#35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants