fix(lint): address G304 and unparam warnings

- Add #nosec G304 comment to parseJSONLFile in rename_prefix.go
- Mark unused noGitHistory param in importFromJSONLInline (mirrors import.go pattern)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
beads/crew/wolf
2026-01-06 19:32:20 -08:00
committed by Steve Yegge
parent 520518c68b
commit 6ce36ab1f3
2 changed files with 2 additions and 1 deletions

View File

@@ -572,6 +572,7 @@ func generateRepairHashID(ctx context.Context, conn *sql.Conn, prefix string, is
// parseJSONLFile reads and parses a JSONL file into a slice of issues
func parseJSONLFile(jsonlPath string) ([]*types.Issue, error) {
// #nosec G304 - jsonlPath is from findJSONLPath() which uses trusted paths
f, err := os.Open(jsonlPath)
if err != nil {
return nil, fmt.Errorf("failed to open JSONL file: %w", err)