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 broken deserialization of deps #65

Merged
merged 1 commit into from
Oct 30, 2023
Merged

Fix broken deserialization of deps #65

merged 1 commit into from
Oct 30, 2023

Conversation

jcheng5
Copy link
Collaborator

@jcheng5 jcheng5 commented Oct 30, 2023

The previous implementation of deserialization of deps was broken if the JSON contained newlines. This commit both makes the deserialization robust to newlines, and also removes the newlines.

Testing notes

Without this fix, this qmd's Data tab comes up blank.

I added unit tests that verify the fixed deserialization both with and without newlines/indents.

The previous implementation of deserialization of deps was broken if the JSON
contained newlines. This commit both makes the deserialization robust to
newlines, and also removes the newlines.
@jcheng5 jcheng5 requested a review from wch October 30, 2023 23:04
@wch wch merged commit 2aaf6fb into main Oct 30, 2023
16 checks passed
@wch wch deleted the serialize-deps-indent branch October 30, 2023 23:39
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