diff options
| author | 2025-11-20 08:00:00 +0800 | |
|---|---|---|
| committer | 2025-11-20 08:00:00 +0800 | |
| commit | 3549b372c868ca4849ac0447c6a3cfddc7232939 (patch) | |
| tree | 76fb58e19b29f21e9524026c53f64d75a0211a6a /repo_current_test.go | |
| parent | Revert "Add initial support for multi pack indexes" (diff) | |
| signature | No signature | |
Fix linter errors
Diffstat (limited to 'repo_current_test.go')
| -rw-r--r-- | repo_current_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repo_current_test.go b/repo_current_test.go index ed530385..1799ad62 100644 --- a/repo_current_test.go +++ b/repo_current_test.go @@ -16,7 +16,7 @@ func TestCurrentRepoDepthFirstEnumeration(t *testing.T) { if err != nil { t.Skipf("failed to open current .git directory: %v", err) } - defer repo.Close() + defer func() { _ = repo.Close() }() headHash, err := repo.ResolveRefFully("HEAD") if err != nil { |
