diff options
author | jiepeng <jiepengthegreat@126.com> | 2022-09-13 18:11:03 +0800 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-09-17 15:10:41 -0700 |
commit | b8900baf1ada72c24e58c487122c21e80858f52a (patch) | |
tree | 64c67fecd215d00e540a5d5c2030878b92cff981 /pkg/commands/loaders/commits.go | |
parent | c81333fefe2f1e27ab2fcb6a0dc37d82ca47c711 (diff) |
remove deprecated calls
Diffstat (limited to 'pkg/commands/loaders/commits.go')
-rw-r--r-- | pkg/commands/loaders/commits.go | 3 |
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, } |