diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-09-23 23:01:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-23 23:01:40 -0700 |
commit | fd66499c8faddc98ee9985f9b5e7e50320617410 (patch) | |
tree | 1c6e3e84ee0a912141fbda61269f5aa687bd8a9f /pkg/utils | |
parent | e00118376879e7be6633620a8e81c81148027540 (diff) | |
parent | 3d79c6a3d3bd939259f0a37b34acc9d5a7ab4759 (diff) |
Merge pull request #2167 from xiaoliwang/remove_deprecated
Diffstat (limited to 'pkg/utils')
-rw-r--r-- | pkg/utils/dummies.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/utils/dummies.go b/pkg/utils/dummies.go index c5fba3556..08de78d1d 100644 --- a/pkg/utils/dummies.go +++ b/pkg/utils/dummies.go @@ -1,7 +1,7 @@ package utils import ( - "io/ioutil" + "io" "github.com/jesseduffield/lazygit/pkg/common" "github.com/jesseduffield/lazygit/pkg/config" @@ -12,7 +12,7 @@ import ( // NewDummyLog creates a new dummy Log for testing func NewDummyLog() *logrus.Entry { log := logrus.New() - log.Out = ioutil.Discard + log.Out = io.Discard return log.WithField("test", "test") } |