Skip to content

fix(bzlmod): throw on json parse exception#15429

Merged
ckolli5 merged 1 commit intobazelbuild:release-5.2.0from
ckolli5:release-5.2.0
May 9, 2022
Merged

fix(bzlmod): throw on json parse exception#15429
ckolli5 merged 1 commit intobazelbuild:release-5.2.0from
ckolli5:release-5.2.0

Conversation

@ckolli5
Copy link
Copy Markdown

@ckolli5 ckolli5 commented May 9, 2022

Fixes

Get rid of new lines in bazel_registry.json and return an Optional.empty() aka registry descriptor without mirrors and throw an IOException for malformed JSON to stick to official json.org specs

Closes #15109.

PiperOrigin-RevId: 436992309

[Fixes](#14437)

Get rid of new lines in `bazel_registry.json` and return an `Optional.empty()` aka registry descriptor without mirrors and throw an IOException for malformed JSON to stick to official json.org specs

Closes #15109.

PiperOrigin-RevId: 436992309
@ckolli5 ckolli5 merged commit 374400d into bazelbuild:release-5.2.0 May 9, 2022
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

Successfully merging this pull request may close these issues.

2 participants