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

[cli] Strip Byte-order Mark (BOM) from YAML configs during load #6636

Merged
merged 4 commits into from
Mar 29, 2021

Conversation

lblackstone
Copy link
Member

Some YAML parsers don't correctly handle Byte-order Marks,
so automatically strip it off during load.

Related to #423

Some YAML parsers don't correctly handle Byte-order Marks,
so automatically strip it off during load.

Related to #423
Copy link
Member

@justinvp justinvp left a comment

Choose a reason for hiding this comment

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

LGTM

sdk/go/common/workspace/loaders.go Outdated Show resolved Hide resolved
sdk/go/common/workspace/loaders.go Outdated Show resolved Hide resolved
lblackstone and others added 2 commits March 29, 2021 10:38
Co-authored-by: Justin Van Patten <jvp@justinvp.com>
@lblackstone lblackstone merged commit 8cdac3e into master Mar 29, 2021
@pulumi-bot pulumi-bot deleted the lblackstone/yaml-bom branch March 29, 2021 17:56
lblackstone added a commit that referenced this pull request Apr 5, 2021
#6636 inadvertently changed the minimum Go version
requirement to 1.16 since ReadFile was moved in that
version. Switch back to ioutil.ReadFile to avoid forcing
an upgrade at this time.
lblackstone added a commit that referenced this pull request Apr 5, 2021
#6636 inadvertently changed the minimum Go version
requirement to 1.16 since ReadFile was moved in that
version. Switch back to ioutil.ReadFile to avoid forcing
an upgrade at this time.
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