Skip to content

Commit 9eeb891

Browse files
build(deps): bump golang.org/x/tools from 0.23.0 to 0.24.0 (#4898)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent 73bbf82 commit 9eeb891

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

go.mod

+4-4
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ require (
125125
go-simpler.org/sloglint v0.7.2
126126
go.uber.org/automaxprocs v1.5.3
127127
golang.org/x/exp v0.0.0-20240103183307-be819d1f06fc
128-
golang.org/x/tools v0.23.0
128+
golang.org/x/tools v0.24.0
129129
gopkg.in/yaml.v3 v3.0.1
130130
honnef.co/go/tools v0.4.7
131131
mvdan.cc/gofumpt v0.6.0
@@ -189,9 +189,9 @@ require (
189189
go.uber.org/multierr v1.6.0 // indirect
190190
go.uber.org/zap v1.24.0 // indirect
191191
golang.org/x/exp/typeparams v0.0.0-20240314144324-c7f7c6466f7f // indirect
192-
golang.org/x/mod v0.19.0 // indirect
193-
golang.org/x/sync v0.7.0 // indirect
194-
golang.org/x/sys v0.22.0 // indirect
192+
golang.org/x/mod v0.20.0 // indirect
193+
golang.org/x/sync v0.8.0 // indirect
194+
golang.org/x/sys v0.23.0 // indirect
195195
golang.org/x/text v0.15.0 // indirect
196196
google.golang.org/protobuf v1.33.0 // indirect
197197
gopkg.in/ini.v1 v1.67.0 // indirect

go.sum

+10-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/commands/internal/builder.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func (b Builder) clone(ctx context.Context) error {
9595

9696
output, err := cmd.CombinedOutput()
9797
if err != nil {
98-
b.log.Infof(string(output))
98+
b.log.Infof("%s", string(output))
9999

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

133133
output, err := cmd.CombinedOutput()
134134
if err != nil {
135-
b.log.Warnf(string(output))
135+
b.log.Warnf("%s", string(output))
136136

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

151151
output, err := cmd.CombinedOutput()
152152
if err != nil {
153-
b.log.Warnf(string(output))
153+
b.log.Warnf("%s", string(output))
154154

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

165165
output, err := cmd.CombinedOutput()
166166
if err != nil {
167-
b.log.Warnf(string(output))
167+
b.log.Warnf("%s", string(output))
168168

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

188188
output, err := cmd.CombinedOutput()
189189
if err != nil {
190-
b.log.Warnf(string(output))
190+
b.log.Warnf("%s", string(output))
191191

192192
return fmt.Errorf("%s: %w", strings.Join(cmd.Args, " "), err)
193193
}

pkg/commands/run.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func (c *runCommand) persistentPreRunE(cmd *cobra.Command, args []string) error
152152
return err
153153
}
154154

155-
c.log.Infof(c.buildInfo.String())
155+
c.log.Infof("%s", c.buildInfo.String())
156156

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

0 commit comments

Comments
 (0)