summaryrefslogtreecommitdiffstats
path: root/pkg/commands/loaders
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-09-23 23:01:40 -0700
committerGitHub <noreply@github.com>2022-09-23 23:01:40 -0700
commitfd66499c8faddc98ee9985f9b5e7e50320617410 (patch)
tree1c6e3e84ee0a912141fbda61269f5aa687bd8a9f /pkg/commands/loaders
parente00118376879e7be6633620a8e81c81148027540 (diff)
parent3d79c6a3d3bd939259f0a37b34acc9d5a7ab4759 (diff)
Merge pull request #2167 from xiaoliwang/remove_deprecated
Diffstat (limited to 'pkg/commands/loaders')
-rw-r--r--pkg/commands/loaders/commits.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/commands/loaders/commits.go b/pkg/commands/loaders/commits.go
index 69c88ccf5..5f33408cd 100644
--- a/pkg/commands/loaders/commits.go
+++ b/pkg/commands/loaders/commits.go
@@ -3,7 +3,6 @@ package loaders
import (
"bytes"
"fmt"
- "io/ioutil"
"os"
"path/filepath"
"regexp"
@@ -50,7 +49,7 @@ func NewCommitLoader(
cmd: cmd,
getCurrentBranchName: getCurrentBranchName,
getRebaseMode: getRebaseMode,
- readFile: ioutil.ReadFile,
+ readFile: os.ReadFile,
walkFiles: filepath.Walk,
dotGitDir: dotGitDir,
}