From 7a2104175082ccd95a77186c0fdb38029fd64ed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Mon, 19 Feb 2024 11:09:58 +0100 Subject: [PATCH] Fix lint issues --- cmd/cmd.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/cmd.go b/cmd/cmd.go index 4604c02..6e6846c 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -66,21 +66,21 @@ func Env(k, v string) Option { // Stdin is an option to set the standard input. func Stdin(r io.Reader) Option { - return func(a *goyek.A, cmd *exec.Cmd) { + return func(_ *goyek.A, cmd *exec.Cmd) { cmd.Stdin = r } } // Stdout is an option to set the standard output. func Stdout(w io.Writer) Option { - return func(a *goyek.A, cmd *exec.Cmd) { + return func(_ *goyek.A, cmd *exec.Cmd) { cmd.Stdout = w } } // Stderr is an option to set the standard error. func Stderr(w io.Writer) Option { - return func(a *goyek.A, cmd *exec.Cmd) { + return func(_ *goyek.A, cmd *exec.Cmd) { cmd.Stderr = w } }