diff --git a/go.mod b/go.mod index 58f91d63c..b5b61ba84 100755 --- a/go.mod +++ b/go.mod @@ -19,7 +19,6 @@ require ( github.com/muesli/termenv v0.11.1-0.20220212125758-44cd13922739 github.com/sergi/go-diff v1.1.0 golang.org/x/crypto v0.0.0-20220307211146-efcb8507fb70 - gopkg.in/yaml.v2 v2.4.0 ) require ( @@ -30,6 +29,7 @@ require ( github.com/muesli/mango v0.1.0 github.com/muesli/roff v0.1.0 github.com/spf13/cobra v1.4.0 + gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c ) require ( diff --git a/go.sum b/go.sum index ce0921d2b..f7bcd5cc5 100644 --- a/go.sum +++ b/go.sum @@ -35,8 +35,6 @@ github.com/charmbracelet/keygen v0.3.0 h1:mXpsQcH7DDlST5TddmXNXjS0L7ECk4/kLQYyBc github.com/charmbracelet/keygen v0.3.0/go.mod h1:1ukgO8806O25lUZ5s0IrNur+RlwTBERlezdgW71F5rM= github.com/charmbracelet/lipgloss v0.4.0 h1:768h64EFkGUr8V5yAKV7/Ta0NiVceiPaV+PphaW1K9g= github.com/charmbracelet/lipgloss v0.4.0/go.mod h1:vmdkHvce7UzX6xkyf4cca8WlwdQ5RQr8fzta+xl7BOM= -github.com/charmbracelet/wish v0.3.1-0.20220405152319-bea68c3da3b1 h1:OmXSQNyZ/I5Nr+dEiqkeuaAAFfyJzp2wesZFuxxI4s4= -github.com/charmbracelet/wish v0.3.1-0.20220405152319-bea68c3da3b1/go.mod h1:+EgtczC00Oocx5Y237jSGpD/rOcSdq97Intl0ITHwos= github.com/charmbracelet/wish v0.3.1 h1:B3GZop29tFf/Jh8oMyeTX+iSP3X2bR8AQduf/h4OdRQ= github.com/charmbracelet/wish v0.3.1/go.mod h1:+EgtczC00Oocx5Y237jSGpD/rOcSdq97Intl0ITHwos= github.com/containerd/console v1.0.2/go.mod h1:ytZPjGgY2oeTkAONYafi2kSj0aYggsf8acV1PGKCbzQ= diff --git a/internal/config/config.go b/internal/config/config.go index f039e49ba..184357787 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -9,7 +9,7 @@ import ( "text/template" "golang.org/x/crypto/ssh" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" "fmt" "os"