Skip to content

Commit af0d738

Browse files
author
David Shiflet (from Dev Box)
committed
fix check errors
1 parent 4dfd415 commit af0d738

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

NOTICE.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6641,8 +6641,8 @@ THE SOFTWARE.
66416641
## golang.org/x/crypto
66426642

66436643
* Name: golang.org/x/crypto
6644-
* Version: v0.38.0
6645-
* License: [BSD-3-Clause](https://cs.opensource.google/go/x/crypto/+/v0.38.0:LICENSE)
6644+
* Version: v0.45.0
6645+
* License: [BSD-3-Clause](https://cs.opensource.google/go/x/crypto/+/v0.45.0:LICENSE)
66466646

66476647
```
66486648
Copyright 2009 The Go Authors.
@@ -6678,8 +6678,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
66786678
## golang.org/x/net
66796679

66806680
* Name: golang.org/x/net
6681-
* Version: v0.40.0
6682-
* License: [BSD-3-Clause](https://cs.opensource.google/go/x/net/+/v0.40.0:LICENSE)
6681+
* Version: v0.47.0
6682+
* License: [BSD-3-Clause](https://cs.opensource.google/go/x/net/+/v0.47.0:LICENSE)
66836683

66846684
```
66856685
Copyright 2009 The Go Authors.
@@ -6715,8 +6715,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
67156715
## golang.org/x/sys/windows
67166716

67176717
* Name: golang.org/x/sys/windows
6718-
* Version: v0.33.0
6719-
* License: [BSD-3-Clause](https://cs.opensource.google/go/x/sys/+/v0.33.0:LICENSE)
6718+
* Version: v0.38.0
6719+
* License: [BSD-3-Clause](https://cs.opensource.google/go/x/sys/+/v0.38.0:LICENSE)
67206720

67216721
```
67226722
Copyright 2009 The Go Authors.
@@ -6752,8 +6752,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
67526752
## golang.org/x/term
67536753

67546754
* Name: golang.org/x/term
6755-
* Version: v0.32.0
6756-
* License: [BSD-3-Clause](https://cs.opensource.google/go/x/term/+/v0.32.0:LICENSE)
6755+
* Version: v0.37.0
6756+
* License: [BSD-3-Clause](https://cs.opensource.google/go/x/term/+/v0.37.0:LICENSE)
67576757

67586758
```
67596759
Copyright 2009 The Go Authors.
@@ -6789,8 +6789,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
67896789
## golang.org/x/text
67906790

67916791
* Name: golang.org/x/text
6792-
* Version: v0.25.0
6793-
* License: [BSD-3-Clause](https://cs.opensource.google/go/x/text/+/v0.25.0:LICENSE)
6792+
* Version: v0.31.0
6793+
* License: [BSD-3-Clause](https://cs.opensource.google/go/x/text/+/v0.31.0:LICENSE)
67946794

67956795
```
67966796
Copyright 2009 The Go Authors.

cmd/modern/root/install/mssql-base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ func (c *MssqlBase) createContainer(imageName string, contextName string) {
280280

281281
if c.defaultDatabase != "" {
282282
if !c.validateDbName(c.defaultDatabase) {
283-
output.Fatalf(localizer.Sprintf("--user-database %q contains non-ASCII chars and/or quotes", c.defaultDatabase))
283+
output.Fatal(localizer.Sprintf("--user-database %q contains non-ASCII chars and/or quotes", c.defaultDatabase))
284284
}
285285
}
286286

cmd/modern/root/open/ads.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func (c *Ads) launchAds(host string, port int, username string) {
9090

9191
tool := tools.NewTool("ads")
9292
if !tool.IsInstalled() {
93-
output.Fatalf(tool.HowToInstall())
93+
output.Fatal(tool.HowToInstall())
9494
}
9595

9696
c.displayPreLaunchInfo()

internal/localizer/localizer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func init() {
5050
// Errorf() is wrapper function to create localized errors
5151
func Errorf(format string, a ...any) error {
5252
errMsg := Translator.Sprintf(format, a...)
53-
return fmt.Errorf(errMsg)
53+
return fmt.Errorf("%s", errMsg)
5454
}
5555

5656
// Sprintf() is wrapper function to create localized string

internal/output/output.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func (o Output) Debugf(format string, a ...any) {
3434
func (o Output) Debug(msg string) {
3535
if o.loggingLevel >= verbosity.Debug {
3636
msg = o.ensureEol(msg)
37-
o.printf("DEBUG: " + msg)
37+
o.printf("DEBUG: %s", msg)
3838
}
3939
}
4040

@@ -157,7 +157,7 @@ func (o Output) Tracef(format string, a ...any) {
157157
func (o Output) Trace(msg string) {
158158
if o.loggingLevel >= verbosity.Trace {
159159
msg = o.ensureEol(msg)
160-
o.printf("TRACE: " + msg)
160+
o.printf("TRACE: %s", msg)
161161
}
162162
}
163163

0 commit comments

Comments
 (0)