fix: Embedded content handling with newlines#13
Merged
kodiakhq[bot] merged 2 commits intomainfrom Jun 6, 2023
Merged
Conversation
hermanschaaf
reviewed
Jun 6, 2023
| assert.NoError(t, err) | ||
| if t.Failed() { | ||
| return | ||
| } |
Contributor
There was a problem hiding this comment.
Can we also add an assertion to check that the content is preserved properly, and not escaped after it is read?
Contributor
There was a problem hiding this comment.
Ah, sorry, the GitHub diff cut it off 😄
erezrokah
approved these changes
Jun 6, 2023
kodiakhq bot
pushed a commit
that referenced
this pull request
Jun 6, 2023
🤖 I have created a release *beep* *boop* --- ## [1.0.9](v1.0.8...v1.0.9) (2023-06-06) ### Bug Fixes * **deps:** Update golang.org/x/exp digest to 2e198f4 ([#6](#6)) ([bbf4975](bbf4975)) * **deps:** Update google.golang.org/genproto digest to e85fd2c ([#7](#7)) ([ead0d7f](ead0d7f)) * **deps:** Update google.golang.org/genproto/googleapis/rpc digest to e85fd2c ([#11](#11)) ([e21aa76](e21aa76)) * **deps:** Update module github.com/davecgh/go-spew to v1.1.1 ([#9](#9)) ([a6a34f4](a6a34f4)) * **deps:** Update module github.com/stretchr/testify to v1.8.4 ([#12](#12)) ([dba4977](dba4977)) * Embedded content handling with newlines ([#13](#13)) ([ceb6046](ceb6046)) * SpecReader should escape external JSON content from files and environment variables ([#4](#4)) ([54b172f](54b172f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes cloudquery/cloudquery#11178