MCPcopy Index your code
hub / github.com/smallstep/cli / checkNoTODOs

Function checkNoTODOs

integration/help_test.go:99–107  ·  view source on GitHub ↗
(ts *testscript.TestScript, report *usage.Report)

Source from the content-addressed store, hash-verified

97}
98
99func checkNoTODOs(ts *testscript.TestScript, report *usage.Report) {
100 for _, top := range report.Report {
101 for _, section := range top.Sections {
102 if strings.Contains(strings.ToUpper(section.Text), "TODO") {
103 ts.Fatalf("TODO found in %s (%s)", section.Command, section.Name)
104 }
105 }
106 }
107}

Callers 1

checkHelpQualityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…