diff --git a/probes/internal/scripts/setup.go b/probes/internal/scripts/setup.go index a1ea0ec40c4..2a0562e4225 100644 --- a/probes/internal/scripts/setup.go +++ b/probes/internal/scripts/setup.go @@ -66,10 +66,15 @@ const ( ) // If your probe is associated with a Scorecard check, map it like so: -// and create the entry in internal/probes/probes.go +// and create the entry in probes/entries.go // func init() { // probes.MustRegister(Probe, Run, []probes.CheckName{probes.}) // } +// If your probe isn't supposed to be part of a Scorecard check, you must +// register it independently: +// func init() { +// probes.MustRegisterIndependent(Probe, Run) +// } func Run(raw *checker.RawResults) ([]finding.Finding, string, error) { return nil, "", nil