Skip to content

Commit 729b735

Browse files
committed
ioutil.NopCloser not io.NopCloser
Signed-off-by: Andrew Thornton <[email protected]>
1 parent 7775733 commit 729b735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/git/blob_nogogit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func (b *Blob) DataAsync() (io.ReadCloser, error) {
4949
return nil, err
5050
}
5151
_, err = rd.Discard(1)
52-
return io.NopCloser(bytes.NewReader(bs)), err
52+
return ioutil.NopCloser(bytes.NewReader(bs)), err
5353
}
5454

5555
return &blobReader{

0 commit comments

Comments
 (0)