diff options
| author | 2026-02-21 18:23:13 +0800 | |
|---|---|---|
| committer | 2026-02-21 18:23:13 +0800 | |
| commit | 3e99f5beec4cc1752d43664b366a01c3149357db (patch) | |
| tree | 68bc0764c22246db0b3d4767f7ddde8abc397691 /repository | |
| parent | objectstore/packed: Use SplitSeq (diff) | |
| signature | No signature | |
repository: Ignore gosec G304 here v0.1.24
Diffstat (limited to 'repository')
| -rw-r--r-- | repository/traversal_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repository/traversal_test.go b/repository/traversal_test.go index 0e5f5ec4..c8c7658c 100644 --- a/repository/traversal_test.go +++ b/repository/traversal_test.go @@ -73,7 +73,7 @@ func TestRepositoryDepthFirstEnumerationCurrentWorktree(t *testing.T) { gitdirPath = filepath.Join(worktreeRoot, gitdirPath) } commondirPath := filepath.Join(gitdirPath, "commondir") - commondirContent, err := os.ReadFile(commondirPath) + commondirContent, err := os.ReadFile(commondirPath) //#nosec:G304 if err != nil { t.Fatalf("read %q: %v", commondirPath, err) } |
