Skip to content

Commit 7858a14

Browse files
committed
ci: fix lint issues
1 parent ed4fde7 commit 7858a14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tty_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func (p *Program) initInput() (err error) {
6262

6363
// Open the Windows equivalent of a TTY.
6464
func openInputTTY() (*os.File, error) {
65-
f, err := os.OpenFile("CONIN$", os.O_RDWR, 0o644) //nolint:mnd
65+
f, err := os.OpenFile("CONIN$", os.O_RDWR, 0o644) //nolint:mnd,gosec
6666
if err != nil {
6767
return nil, fmt.Errorf("error opening CONIN$: %w", err)
6868
}

0 commit comments

Comments
 (0)