Skip to content

Commit

Permalink
Removed usage of io/ioutil from worktrees
Browse files Browse the repository at this point in the history
The branch that this work is based off of got really out of date with
the master branch and still had references to this deprecated package.
  • Loading branch information
durandj committed Jul 1, 2023
1 parent 9ef9b3e commit 5da6b8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repository.go
Expand Up @@ -894,7 +894,7 @@ func (r *Repository) Worktrees() ([]*Worktree, error) {
}
defer f.Close()

b, err := stdioutil.ReadAll(f)
b, err := io.ReadAll(f)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 5da6b8d

Please sign in to comment.