Skip to content
Myr

Ignore the linter error (#2390)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Marc Khouzam · committed by GitHub · parent 85c12c2 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:completions.go+1 added
953 unmodified lines
954955 // Such logs are only printed when the user has set the environment956 // variable BASH_COMP_DEBUG_FILE to the path of some file to be used.957 if path := os.Getenv("BASH_COMP_DEBUG_FILE"); path != "" {958 //nolint:gosec // G703:BASH_COMP_DEBUG_FILE intentionally user-controlled for completion debug logging.959 f, err := os.OpenFile(path,960 os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)961 if err == nil {962 defer f.Close()
59 unmodified lines