mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
Cobra.Command.SetOutput is depracated (#1554)
This commit is contained in:
parent
164cfab820
commit
d32798769c
1 changed files with 2 additions and 1 deletions
|
@ -284,7 +284,8 @@ func (e *Executor) initRun() {
|
|||
}
|
||||
e.rootCmd.AddCommand(e.runCmd)
|
||||
|
||||
e.runCmd.SetOutput(logutils.StdOut) // use custom output to properly color it in Windows terminals
|
||||
e.runCmd.SetOut(logutils.StdOut) // use custom output to properly color it in Windows terminals
|
||||
e.runCmd.SetErr(logutils.StdErr)
|
||||
|
||||
e.initRunConfiguration(e.runCmd)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue