Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
823a5202
Commit
823a5202
authored
Feb 13, 2024
by
Daniel Hiltgen
Committed by
jmorganca
Feb 15, 2024
Browse files
Fix lint error on ignored error for win console
parent
66ef308a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cmd/cmd.go
cmd/cmd.go
+1
-1
No files found.
cmd/cmd.go
View file @
823a5202
...
@@ -815,7 +815,7 @@ func NewCLI() *cobra.Command {
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment