Skip to content

Commit da3eb31

Browse files
build(deps): bump github.com/fatih/color from 1.15.0 to 1.16.0 (#4194)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent a12dde0 commit da3eb31

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ require (
3333
github.com/daixiang0/gci v0.11.2
3434
github.com/denis-tingaikin/go-header v0.4.3
3535
github.com/esimonov/ifshort v1.0.4
36-
github.com/fatih/color v1.15.0
36+
github.com/fatih/color v1.16.0
3737
github.com/firefart/nonamedreturns v1.0.4
3838
github.com/fzipp/gocyclo v0.6.0
3939
github.com/ghostiam/protogetter v0.3.3
@@ -160,7 +160,7 @@ require (
160160
github.com/kisielk/gotool v1.0.0 // indirect
161161
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
162162
github.com/magiconair/properties v1.8.6 // indirect
163-
github.com/mattn/go-isatty v0.0.17 // indirect
163+
github.com/mattn/go-isatty v0.0.20 // indirect
164164
github.com/mattn/go-runewidth v0.0.9 // indirect
165165
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
166166
github.com/olekukonko/tablewriter v0.0.5 // indirect

go.sum

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

pkg/printers/tab_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ path/to/fileb.go:300:9 another issue
7878
printLinterName: true,
7979
useColors: true,
8080
//nolint:lll // color characters must be in a simple string.
81-
expected: "\x1b[1mpath/to/filea.go:10\x1b[0m:4 linter-a \x1b[31msome issue\x1b[0m\n\x1b[1mpath/to/fileb.go:300\x1b[0m:9 linter-b \x1b[31manother issue\x1b[0m\n",
81+
expected: "\x1b[1mpath/to/filea.go:10\x1b[22m:4 linter-a \x1b[31msome issue\x1b[0m\n\x1b[1mpath/to/fileb.go:300\x1b[22m:9 linter-b \x1b[31manother issue\x1b[0m\n",
8282
},
8383
}
8484

pkg/printers/text_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func foo() {
9797
printLinterName: true,
9898
useColors: true,
9999
//nolint:lll // color characters must be in a simple string.
100-
expected: "\x1b[1mpath/to/filea.go:10\x1b[0m:4: \x1b[31msome issue\x1b[0m (linter-a)\n\x1b[1mpath/to/fileb.go:300\x1b[0m:9: \x1b[31manother issue\x1b[0m (linter-b)\nfunc foo() {\n\tfmt.Println(\"bar\")\n}\n",
100+
expected: "\x1b[1mpath/to/filea.go:10\x1b[22m:4: \x1b[31msome issue\x1b[0m (linter-a)\n\x1b[1mpath/to/fileb.go:300\x1b[22m:9: \x1b[31manother issue\x1b[0m (linter-b)\nfunc foo() {\n\tfmt.Println(\"bar\")\n}\n",
101101
},
102102
{
103103
desc: "disable all options",

0 commit comments

Comments
 (0)