Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 6e07548

Browse files
committed
storage: filesystem/dotgit, fix typo in return param
Signed-off-by: Javi Fontan <jfontan@gmail.com>
1 parent 7a02aee commit 6e07548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/filesystem/internal/dotgit/dotgit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ func (d *DotGit) findPackedRefsInFile(f billy.File) ([]*plumbing.Reference, erro
375375
return refs, s.Err()
376376
}
377377

378-
func (d *DotGit) findPackedRefs() (r []*plumbing.Reference, error error) {
378+
func (d *DotGit) findPackedRefs() (r []*plumbing.Reference, err error) {
379379
f, err := d.fs.Open(packedRefsPath)
380380
if err != nil {
381381
if os.IsNotExist(err) {

0 commit comments

Comments
 (0)