mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-08 20:25:22 +00:00
Fix lint error on ignored error for win console
This commit is contained in:
parent
66ef308abd
commit
823a520266
@ -815,7 +815,7 @@ func NewCLI() *cobra.Command {
|
|||||||
|
|
||||||
if runtime.GOOS == "windows" {
|
if runtime.GOOS == "windows" {
|
||||||
// Enable colorful ANSI escape code in Windows terminal (disabled by default)
|
// Enable colorful ANSI escape code in Windows terminal (disabled by default)
|
||||||
console.ConsoleFromFile(os.Stdout)
|
console.ConsoleFromFile(os.Stdout) //nolint:errcheck
|
||||||
}
|
}
|
||||||
|
|
||||||
rootCmd := &cobra.Command{
|
rootCmd := &cobra.Command{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user