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/urfave/cli to v2 #713

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 cli/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"github.com/coveooss/terragrunt/v2/tgerrors"
"github.com/coveooss/terragrunt/v2/util"
"github.com/sirupsen/logrus"
"github.com/urfave/cli"
"github.com/urfave/cli/v2"
)

// ParseTerragruntOptions parses command line options that are passed in for Terragrunt
func ParseTerragruntOptions(cliContext *cli.Context) (*options.TerragruntOptions, error) {
terragruntOptions, err := parseTerragruntOptionsFromArgs(cliContext.Args())

Check failure on line 23 in cli/args.go

View workflow job for this annotation

GitHub Actions / goreleaser-test-release

cannot use cliContext.Args() (value of type "github.com/urfave/cli/v2".Args) as []string value in argument to parseTerragruntOptionsFromArgs

Check failure on line 23 in cli/args.go

View workflow job for this annotation

GitHub Actions / build

cannot use cliContext.Args() (value of type "github.com/urfave/cli/v2".Args) as []string value in argument to parseTerragruntOptionsFromArgs

Check failure on line 23 in cli/args.go

View workflow job for this annotation

GitHub Actions / static

cannot use cliContext.Args() (value of type "github.com/urfave/cli/v2".Args) as []string value in argument to parseTerragruntOptionsFromArgs

Check failure on line 23 in cli/args.go

View workflow job for this annotation

GitHub Actions / static

cannot use cliContext.Args() (value of type "github.com/urfave/cli/v2".Args) as []string value in argument to parseTerragruntOptionsFromArgs

Check failure on line 23 in cli/args.go

View workflow job for this annotation

GitHub Actions / test (1.7.5)

cannot use cliContext.Args() (value of type "github.com/urfave/cli/v2".Args) as []string value in argument to parseTerragruntOptionsFromArgs

Check failure on line 23 in cli/args.go

View workflow job for this annotation

GitHub Actions / test (1.8.5)

cannot use cliContext.Args() (value of type "github.com/urfave/cli/v2".Args) as []string value in argument to parseTerragruntOptionsFromArgs

Check failure on line 23 in cli/args.go

View workflow job for this annotation

GitHub Actions / test (1.9.7)

cannot use cliContext.Args() (value of type "github.com/urfave/cli/v2".Args) as []string value in argument to parseTerragruntOptionsFromArgs
if err != nil {
return nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion cli/cli_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"github.com/hashicorp/terraform-config-inspect/tfconfig"
"github.com/rs/xid"
"github.com/sirupsen/logrus"
"github.com/urfave/cli"
"github.com/urfave/cli/v2"
)

// Constant used to define the command line options
Expand Down Expand Up @@ -167,7 +167,7 @@
app := cli.NewApp()

app.Name = "terragrunt"
app.Author = "Gruntwork <www.gruntwork.io>"

Check failure on line 170 in cli/cli_app.go

View workflow job for this annotation

GitHub Actions / goreleaser-test-release

app.Author undefined (type *"github.com/urfave/cli/v2".App has no field or method Author)

Check failure on line 170 in cli/cli_app.go

View workflow job for this annotation

GitHub Actions / build

app.Author undefined (type *"github.com/urfave/cli/v2".App has no field or method Author)

Check failure on line 170 in cli/cli_app.go

View workflow job for this annotation

GitHub Actions / static

app.Author undefined (type *"github.com/urfave/cli/v2".App has no field or method Author) (compile)

Check failure on line 170 in cli/cli_app.go

View workflow job for this annotation

GitHub Actions / static

app.Author undefined (type *"github.com/urfave/cli/v2".App has no field or method Author) (compile)

Check failure on line 170 in cli/cli_app.go

View workflow job for this annotation

GitHub Actions / test (1.7.5)

app.Author undefined (type *"github.com/urfave/cli/v2".App has no field or method Author)

Check failure on line 170 in cli/cli_app.go

View workflow job for this annotation

GitHub Actions / test (1.8.5)

app.Author undefined (type *"github.com/urfave/cli/v2".App has no field or method Author)

Check failure on line 170 in cli/cli_app.go

View workflow job for this annotation

GitHub Actions / test (1.9.7)

app.Author undefined (type *"github.com/urfave/cli/v2".App has no field or method Author)
app.Version = version
app.Action = runApp
app.Usage = "terragrunt <COMMAND>"
Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ require (
github.com/rs/xid v1.6.0
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.9.0
github.com/urfave/cli v1.22.15
github.com/urfave/cli/v2 v2.27.4
github.com/zclconf/go-cty v1.15.0
gopkg.in/matryer/try.v1 v1.0.0-20150601225556-312d2599e12e
gopkg.in/yaml.v3 v3.0.1
Expand Down Expand Up @@ -122,6 +122,7 @@ require (
github.com/ulikunitz/xz v0.5.12 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
github.com/xhit/go-str2duration/v2 v2.1.0 // indirect
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
github.com/zclconf/go-cty-yaml v1.1.0 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/contrib/detectors/gcp v1.30.0 // indirect
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBp
github.com/Azure/go-ntlmssp v0.0.0-20180810175552-4a21cbd618b4/go.mod h1:chxPXzSsl7ZWRAuOIE23GDNzjWuZquvFlgA8xmpunjU=
github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c/go.mod h1:chxPXzSsl7ZWRAuOIE23GDNzjWuZquvFlgA8xmpunjU=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/ChrisTrenkamp/goxpath v0.0.0-20170922090931-c385f95c6022/go.mod h1:nuWgzSkT5PnyOd+272uUmV0dnAnAn42Mk7PiQC5VzN4=
github.com/ChrisTrenkamp/goxpath v0.0.0-20190607011252-c5096ec8773d/go.mod h1:nuWgzSkT5PnyOd+272uUmV0dnAnAn42Mk7PiQC5VzN4=
Expand Down Expand Up @@ -398,7 +397,6 @@ github.com/coveord/go-getter v1.7.105 h1:91nEjjk8JpFtXZXHZY92NkP5DPSWUdgd0VT4inh
github.com/coveord/go-getter v1.7.105/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744=
github.com/coveord/hcl/v2 v2.8.102 h1:4ZvW6D7YPnVV1Q1KHMqLXdN1jpPfo87eb7qvuK3hoCQ=
github.com/coveord/hcl/v2 v2.8.102/go.mod h1:bQTN5mpo+jewjJgh8jr0JUguIi7qPHUF6yIfAEN3jqY=
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/cpuguy83/go-md2man/v2 v2.0.5 h1:ZtcqGrnekaHpVLArFSe4HK5DoKx1T0rq2DwVB0alcyc=
github.com/cpuguy83/go-md2man/v2 v2.0.5/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
Expand Down Expand Up @@ -854,8 +852,8 @@ github.com/ugorji/go v0.0.0-20180813092308-00b869d2f4a5/go.mod h1:hnLbHMwcvSihnD
github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
github.com/ulikunitz/xz v0.5.12 h1:37Nm15o69RwBkXM0J6A5OlE67RZTfzUxTj8fB3dfcsc=
github.com/ulikunitz/xz v0.5.12/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
github.com/urfave/cli v1.22.15 h1:nuqt+pdC/KqswQKhETJjo7pvn/k4xMUxgW6liI7XpnM=
github.com/urfave/cli v1.22.15/go.mod h1:wSan1hmo5zeyLGBjRJbzRTNk8gwoYa2B9n4q9dmRIc0=
github.com/urfave/cli/v2 v2.27.4 h1:o1owoI+02Eb+K107p27wEX9Bb8eqIoZCfLXloLUSWJ8=
github.com/urfave/cli/v2 v2.27.4/go.mod h1:m4QzxcD2qpra4z7WhzEGn74WZLViBnMpb1ToCAKdGRQ=
github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk=
github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4=
github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI=
Expand All @@ -866,6 +864,8 @@ github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8
github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU=
github.com/xiang90/probing v0.0.0-20160813154853-07dd2e8dfe18/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU=
github.com/xlab/treeprint v0.0.0-20161029104018-1d6e34225557/go.mod h1:ce1O1j6UtZfjr22oyGxGLbauSBp2YVXpARAosm7dHBg=
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGCjxCBTO/36wtF6j2nSip77qHd4x4=
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM=
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
Expand Down
Loading