Fix lint error on ignored error for win console

This commit is contained in:
Daniel Hiltgen 2024-02-13 19:38:52 -08:00 committed by jmorganca
parent 66ef308abd
commit 823a520266

View file

@ -815,7 +815,7 @@ func NewCLI() *cobra.Command {
if runtime.GOOS == "windows" {
// Enable colorful ANSI escape code in Windows terminal (disabled by default)
console.ConsoleFromFile(os.Stdout)
console.ConsoleFromFile(os.Stdout) //nolint:errcheck
}
rootCmd := &cobra.Command{