MCPcopy Create free account
hub / github.com/github/gh-aw / extractAuditJobDetails

Function extractAuditJobDetails

pkg/cli/audit.go:992–997  ·  view source on GitHub ↗
(opts auditJobRunOptions, jobLogContent string)

Source from the content-addressed store, hash-verified

990}
991
992func extractAuditJobDetails(opts auditJobRunOptions, jobLogContent string) error {
993 if opts.stepNumber > 0 {
994 return extractRequestedStepOutput(opts, jobLogContent)
995 }
996 return extractFirstFailingStepOutput(opts, jobLogContent)
997}
998
999func extractRequestedStepOutput(opts auditJobRunOptions, jobLogContent string) error {
1000 stepOutput, err := extractStepOutput(jobLogContent, opts.stepNumber)

Callers 1

auditJobRunFunction · 0.85

Calls 2

Tested by

no test coverage detected