Skip to content

Commit

Permalink
set indent sequence to false
Browse files Browse the repository at this point in the history
  • Loading branch information
natasha41575 committed Jun 17, 2021
1 parent 23e28bb commit db7d5bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion kyaml/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ require (
// replace github.com/golangci/lint-1 v0.0.0-20180610141402-ee948d087217 => github.com/golangci/lint-1 v0.0.0-20190420132249-ee948d087217
// replace mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34 => mvdan.cc/unparam v0.0.0-20190209190245-fbb59629db34

replace gopkg.in/yaml.v3 => gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
replace gopkg.in/yaml.v3 => github.com/mikebz/yaml v0.0.0-20210617073151-b708c49f632c
1 change: 1 addition & 0 deletions kyaml/yaml/alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ var NewDecoder = yaml.NewDecoder
var NewEncoder = func(w io.Writer) *yaml.Encoder {
e := yaml.NewEncoder(w)
e.SetIndent(2)
e.SetIndentSequences(false)
return e
}

Expand Down

0 comments on commit db7d5bb

Please sign in to comment.