mirror of
https://github.com/securego/gosec.git
synced 2024-12-24 11:35:52 +00:00
Set the default color on only for text format
Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
This commit is contained in:
parent
1a113d6da9
commit
c58f3563d3
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ func main() {
|
|||
|
||||
// Color flag is allowed for text format
|
||||
var color bool
|
||||
if *flagFormat != "text" {
|
||||
if *flagFormat == "text" {
|
||||
color = true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue