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

fix(deps): update module github.com/hashicorp/go-getter to v2 in go.mod #53

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/update/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"os"
"strings"

"github.com/hashicorp/go-getter"
"github.com/hashicorp/go-getter/v2"
"github.com/jippi/dottie/pkg"
"github.com/jippi/dottie/pkg/ast"
"github.com/jippi/dottie/pkg/ast/upsert"
Expand Down Expand Up @@ -89,13 +89,13 @@

client := getter.Client{
DisableSymlinks: true,
Mode: getter.ClientModeFile,

Check failure on line 92 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / lint

unknown field Mode in struct literal of type getter.Client

Check failure on line 92 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / lint

undefined: getter.ClientModeFile

Check failure on line 92 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / lint

unknown field Mode in struct literal of type getter.Client

Check failure on line 92 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / lint

undefined: getter.ClientModeFile

Check failure on line 92 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / govulncheck

undefined: getter.ClientModeFile

Check failure on line 92 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / govulncheck

unknown field Mode in struct literal of type getter.Client

Check failure on line 92 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / test

unknown field Mode in struct literal of type getter.Client

Check failure on line 92 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / test

undefined: getter.ClientModeFile
Src: source,

Check failure on line 93 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / lint

unknown field Src in struct literal of type getter.Client

Check failure on line 93 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / govulncheck

unknown field Src in struct literal of type getter.Client

Check failure on line 93 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / test

unknown field Src in struct literal of type getter.Client
Dst: tmp.Name(),

Check failure on line 94 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / lint

unknown field Dst in struct literal of type getter.Client

Check failure on line 94 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / govulncheck

unknown field Dst in struct literal of type getter.Client

Check failure on line 94 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / test

unknown field Dst in struct literal of type getter.Client
Pwd: pwd,

Check failure on line 95 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / lint

unknown field Pwd in struct literal of type getter.Client

Check failure on line 95 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / govulncheck

unknown field Pwd in struct literal of type getter.Client

Check failure on line 95 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / test

unknown field Pwd in struct literal of type getter.Client
}

if err := client.Get(); err != nil {

Check failure on line 98 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / lint

not enough arguments in call to client.Get

Check failure on line 98 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / lint

assignment mismatch: 1 variable but client.Get returns 2 values (typecheck)

Check failure on line 98 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / govulncheck

not enough arguments in call to client.Get

Check failure on line 98 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / govulncheck

assignment mismatch: 1 variable but client.Get returns 2 values

Check failure on line 98 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / test

not enough arguments in call to client.Get

Check failure on line 98 in cmd/update/update.go

View workflow job for this annotation

GitHub Actions / test

assignment mismatch: 1 variable but client.Get returns 2 values
return err
}

Expand Down
27 changes: 3 additions & 24 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ require (
github.com/golang-cz/devslog v0.0.8
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
github.com/gosimple/slug v1.14.0
github.com/hashicorp/go-getter v1.7.4
github.com/hashicorp/go-getter/v2 v2.2.2
github.com/lmittmann/tint v1.0.4
github.com/muesli/termenv v0.15.2
github.com/neilotoole/slogt v1.1.0
Expand All @@ -39,13 +39,7 @@ require (
)

require (
cloud.google.com/go v0.110.9 // indirect
cloud.google.com/go/compute v1.23.2 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v1.1.4 // indirect
cloud.google.com/go/storage v1.30.1 // indirect
github.com/atotto/clipboard v0.1.4 // indirect
github.com/aws/aws-sdk-go v1.44.122 // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
github.com/catppuccin/go v0.2.0 // indirect
Expand All @@ -62,18 +56,13 @@ require (
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/s2a-go v0.1.4 // indirect
github.com/google/uuid v1.4.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.4 // indirect
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
github.com/gosimple/unidecode v1.0.1 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-multierror v1.1.0 // indirect
github.com/hashicorp/go-safetemp v1.0.0 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/klauspost/compress v1.15.11 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
Expand All @@ -93,23 +82,13 @@ require (
github.com/sergi/go-diff v1.3.1 // indirect
github.com/ulikunitz/xz v0.5.10 // indirect
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
go.opencensus.io v0.24.0 // indirect
golang.org/x/crypto v0.23.0 // indirect
golang.org/x/exp v0.0.0-20231214170342-aacd6d4b4611 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/oauth2 v0.11.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/term v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.128.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20231030173426-d783a09b4405 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 // indirect
google.golang.org/grpc v1.59.0 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
modernc.org/b/v2 v2.1.0 // indirect
)
Loading
Loading