fix: add nosec annotations for gosec lint warnings

This commit is contained in:
Steve Yegge
2025-11-25 18:22:05 -08:00
parent 9fc0285987
commit ddced40153
4 changed files with 9 additions and 3 deletions

View File

@@ -192,7 +192,7 @@ func getHistoricalIDsViaDiff(repoPath, relPath string) (map[string]bool, error)
}
// Get file content at this commit
showCmd := exec.Command("git", "show", commit+":"+relPath)
showCmd := exec.Command("git", "show", commit+":"+relPath) // #nosec G204 - args are from git log output
showCmd.Dir = repoPath
content, err := showCmd.Output()