fix: remove duplicate countIssuesInJSONLFile function
Fixes build failure in Test, Lint, Test (Windows), and Test Nix Flake jobs. The function was defined in both init.go and doctor.go. Removed the init.go version which is now unused. The doctor.go version (which calls countJSONLIssues) is the canonical implementation. Fixes #19780439467
This commit is contained in:
@@ -1395,12 +1395,7 @@ Aborting.`, yellow("⚠"), filepath.Base(jsonlPath), issueCount, cyan("bd doctor
|
||||
return nil // No existing data found, safe to init
|
||||
}
|
||||
|
||||
// countIssuesInJSONLFile counts the number of issues in a JSONL file.
|
||||
// Delegates to countJSONLIssues in doctor.go.
|
||||
func countIssuesInJSONLFile(jsonlPath string) int {
|
||||
count, _, _ := countJSONLIssues(jsonlPath)
|
||||
return count
|
||||
}
|
||||
|
||||
|
||||
// setupClaudeSettings creates or updates .claude/settings.local.json with onboard instruction
|
||||
func setupClaudeSettings(verbose bool) error {
|
||||
|
||||
Reference in New Issue
Block a user