1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-07 22:02:56 +03:00

Appease linter

This commit is contained in:
Jesse Duffield
2023-08-02 08:21:55 +10:00
parent df0c3b3ea8
commit c92ed07082
6 changed files with 21 additions and 20 deletions

View File

@@ -10,7 +10,6 @@ import (
"bytes"
"errors"
"io"
"io/ioutil"
"os"
"os/exec"
"testing"
@@ -82,7 +81,7 @@ func runCmdHeadless(cmd *exec.Cmd) error {
return err
}
_, _ = io.Copy(ioutil.Discard, f)
_, _ = io.Copy(io.Discard, f)
if cmd.Wait() != nil {
// return an error with the stderr output