Skip to content

Commit

Permalink
Merge pull request #133 from WillAbides/revert-yy
Browse files Browse the repository at this point in the history
back to yaml.v2 for formatting
  • Loading branch information
WillAbides authored Apr 1, 2023
2 parents 252a246 + a75c3a9 commit 598e3ef
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/bindown/dependency.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/alecthomas/kong"
"github.com/willabides/bindown/v3"
"github.com/willabides/bindown/v3/cmd/bindown/ifaces"
"gopkg.in/yaml.v3"
"gopkg.in/yaml.v2"
)

type dependencyCmd struct {
Expand Down
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"sort"
"strings"

"gopkg.in/yaml.v3"
"gopkg.in/yaml.v2"
)

// Config is our main config
Expand Down
4 changes: 2 additions & 2 deletions configfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import (
"path/filepath"
"sort"

"gopkg.in/yaml.v3"
"gopkg.in/yaml.v2"
)

// ConfigFile is a file containing config
type ConfigFile struct {
Filename string
Filename string `json:"-"`
Config
}

Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ require (
github.com/stretchr/testify v1.7.0
github.com/willabides/kongplete v0.3.0
golang.org/x/exp v0.0.0-20230321023759-10a507213a29
gopkg.in/yaml.v2 v2.2.2
gopkg.in/yaml.v3 v3.0.1
)

Expand Down
1 change: 1 addition & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
Expand Down

0 comments on commit 598e3ef

Please sign in to comment.