Skip to content

Commit

Permalink
build(deps): bump golang.org/x/tools from 0.23.0 to 0.24.0 (golangci#…
Browse files Browse the repository at this point in the history
…4898)

Co-authored-by: Fernandez Ludovic <[email protected]>
  • Loading branch information
2 people authored and uudashr committed Sep 18, 2024
1 parent 06039ea commit 4f69e86
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ require (
go-simpler.org/sloglint v0.7.2
go.uber.org/automaxprocs v1.5.3
golang.org/x/exp v0.0.0-20240103183307-be819d1f06fc
golang.org/x/tools v0.23.0
golang.org/x/tools v0.24.0
gopkg.in/yaml.v3 v3.0.1
honnef.co/go/tools v0.4.7
mvdan.cc/gofumpt v0.6.0
Expand Down Expand Up @@ -190,9 +190,9 @@ require (
go.uber.org/multierr v1.6.0 // indirect
go.uber.org/zap v1.24.0 // indirect
golang.org/x/exp/typeparams v0.0.0-20240314144324-c7f7c6466f7f // indirect
golang.org/x/mod v0.19.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.22.0 // indirect
golang.org/x/mod v0.20.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.23.0 // indirect
golang.org/x/text v0.15.0 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
Expand Down
20 changes: 10 additions & 10 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions pkg/commands/internal/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (b Builder) clone(ctx context.Context) error {

output, err := cmd.CombinedOutput()
if err != nil {
b.log.Infof(string(output))
b.log.Infof("%s", string(output))

return fmt.Errorf("%s: %w", strings.Join(cmd.Args, " "), err)
}
Expand Down Expand Up @@ -132,7 +132,7 @@ func (b Builder) goGet(ctx context.Context, plugin *Plugin) error {

output, err := cmd.CombinedOutput()
if err != nil {
b.log.Warnf(string(output))
b.log.Warnf("%s", string(output))

return fmt.Errorf("%s: %w", strings.Join(cmd.Args, " "), err)
}
Expand All @@ -150,7 +150,7 @@ func (b Builder) addReplaceDirective(ctx context.Context, plugin *Plugin) error

output, err := cmd.CombinedOutput()
if err != nil {
b.log.Warnf(string(output))
b.log.Warnf("%s", string(output))

return fmt.Errorf("%s: %w", strings.Join(cmd.Args, " "), err)
}
Expand All @@ -164,7 +164,7 @@ func (b Builder) goModTidy(ctx context.Context) error {

output, err := cmd.CombinedOutput()
if err != nil {
b.log.Warnf(string(output))
b.log.Warnf("%s", string(output))

return fmt.Errorf("%s: %w", strings.Join(cmd.Args, " "), err)
}
Expand All @@ -187,7 +187,7 @@ func (b Builder) goBuild(ctx context.Context, binaryName string) error {

output, err := cmd.CombinedOutput()
if err != nil {
b.log.Warnf(string(output))
b.log.Warnf("%s", string(output))

return fmt.Errorf("%s: %w", strings.Join(cmd.Args, " "), err)
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func (c *runCommand) persistentPreRunE(cmd *cobra.Command, args []string) error
return err
}

c.log.Infof(c.buildInfo.String())
c.log.Infof("%s", c.buildInfo.String())

loader := config.NewLoader(c.log.Child(logutils.DebugKeyConfigReader), c.viper, cmd.Flags(), c.opts.LoaderOptions, c.cfg, args)

Expand Down

0 comments on commit 4f69e86

Please sign in to comment.