Skip to content

fix: Embedded content handling with newlines#13

Merged
kodiakhq[bot] merged 2 commits intomainfrom
fix/embedded-newlines
Jun 6, 2023
Merged

fix: Embedded content handling with newlines#13
kodiakhq[bot] merged 2 commits intomainfrom
fix/embedded-newlines

Conversation

@disq
Copy link
Copy Markdown
Member

@disq disq commented Jun 6, 2023

@disq disq requested a review from hermanschaaf June 6, 2023 09:28
@disq disq requested a review from yevgenypats as a code owner June 6, 2023 09:28
@github-actions github-actions bot added the fix label Jun 6, 2023
assert.NoError(t, err)
if t.Failed() {
return
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also add an assertion to check that the content is preserved properly, and not escaped after it is read?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hermanschaaf as in line 456?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, sorry, the GitHub diff cut it off 😄

@disq disq added the automerge Add to automerge PRs once requirements are met label Jun 6, 2023
@kodiakhq kodiakhq bot merged commit ceb6046 into main Jun 6, 2023
@kodiakhq kodiakhq bot deleted the fix/embedded-newlines branch June 6, 2023 10:20
@cq-bot cq-bot mentioned this pull request 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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Add to automerge PRs once requirements are met fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Unable to add CA certificate for ELK plugin destination.

3 participants