fix: add countIssuesInJSONLFile wrapper function
The upstream main branch has calls to countIssuesInJSONLFile in doctor.go and init.go, but the previous fix removed the function definition. Add it back as a simple wrapper around countJSONLIssues that returns only the count.
This commit is contained in:
@@ -1514,6 +1514,13 @@ func countJSONLIssues(jsonlPath string) (int, map[string]int, error) {
|
||||
return count, prefixes, nil
|
||||
}
|
||||
|
||||
// countIssuesInJSONLFile counts the number of valid issues in a JSONL file.
|
||||
// This is a wrapper around countJSONLIssues that returns only the count.
|
||||
func countIssuesInJSONLFile(jsonlPath string) int {
|
||||
count, _, _ := countJSONLIssues(jsonlPath)
|
||||
return count
|
||||
}
|
||||
|
||||
func checkPermissions(path string) doctorCheck {
|
||||
beadsDir := filepath.Join(path, ".beads")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user