Skip to content

Commit cde6c0c

Browse files
committed
add debug log
1 parent 4e281a7 commit cde6c0c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.ci/magician/cmd/generate_comment.go

+4
Original file line numberDiff line numberDiff line change
@@ -579,10 +579,14 @@ func detectMissingDocs(diffProcessorPath, tpgbLocalPath string, rnr ExecRunner)
579579
return nil, err
580580
}
581581

582+
fmt.Println("detect missing docs return: ")
583+
fmt.Println(output)
584+
582585
var missingDocs *MissingDocsSummary
583586
if err = json.Unmarshal([]byte(output), &missingDocs); err != nil {
584587
return nil, err
585588
}
589+
fmt.Printf("missingDocs = %v\n", *missingDocs)
586590
return missingDocs, rnr.PopDir()
587591
}
588592

0 commit comments

Comments
 (0)