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

fix: nil derefence on gazelle update-repos #46

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

JamesMBartlett
Copy link
Contributor

Running bazel //:gazelle_with_js update-repos in a repo where gazelle_with_js has this extension enabled led to a nil dereference attempting to convert nil to JsConfigs. This fixes it by initializing the root js config in RegisterFlags, which mimics the way that gazelle does it internally for golang.

Signed-off-by: James Bartlett <james@gimletlabs.ai>
@philkuz
Copy link

philkuz commented Oct 19, 2023

@ColinHeathman any chance we can get this in? Just ran into this same problem!

@ColinHeathman
Copy link
Collaborator

Thanks for this!

@ColinHeathman ColinHeathman merged commit c85ea54 into benchsci:main Oct 20, 2023
1 check passed
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.

3 participants