Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Raghav Kaul <raghavkaul+github@google.com>
  • Loading branch information
raghavkaul committed May 8, 2024
1 parent e3401d2 commit 6f96022
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion probes/internal/scripts/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.<ProbeName>})
// }
// 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
Expand Down

0 comments on commit 6f96022

Please sign in to comment.