diff options
Diffstat (limited to 'internal/git/objectpool/fetch.go')
-rw-r--r-- | internal/git/objectpool/fetch.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/git/objectpool/fetch.go b/internal/git/objectpool/fetch.go index 5a6e76859..45fc92de3 100644 --- a/internal/git/objectpool/fetch.go +++ b/internal/git/objectpool/fetch.go @@ -5,7 +5,7 @@ import ( "bytes" "context" "fmt" - "io/ioutil" + "io" "os/exec" "path/filepath" "strconv" @@ -238,7 +238,7 @@ func sizeDir(ctx context.Context, dir string) (int64, error) { return 0, err } - sizeLine, err := ioutil.ReadAll(cmd) + sizeLine, err := io.ReadAll(cmd) if err != nil { return 0, err } |