aboutsummaryrefslogtreecommitdiff
path: root/internal/testgit/command.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-06-06 19:21:52 +0000
committerGravatar Runxi Yu2026-06-06 19:21:52 +0000
commita3cade08a0b0101688e8930916c04866860b2650 (patch)
treede10695bc4342f04bc512b050caaddfecd0a321b /internal/testgit/command.go
parentconfig: Just use sha256 test (diff)
Prepare for refname; use lgo; etc.
Diffstat (limited to 'internal/testgit/command.go')
-rw-r--r--internal/testgit/command.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/testgit/command.go b/internal/testgit/command.go
index 341b635c..a7d8651a 100644
--- a/internal/testgit/command.go
+++ b/internal/testgit/command.go
@@ -13,7 +13,7 @@ func (repo *Repo) Command(
) *exec.Cmd {
tb.Helper()
- cmd := exec.CommandContext(tb.Context(), command, args...)
+ cmd := exec.CommandContext(tb.Context(), command, args...) //nolint:gosec // Test helper runs caller-selected commands.
cmd.Dir = repo.path
cmd.Env = repo.env