You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can we just create a pre-defined var (for the probes that don't have other values, like the number of reviewers) so we can cut down on the lines and increase readability?
findings: []finding.Finding{
testFinding("blocksDeleteOnBranches", finding.OutcomePositive),
testFinding("blocksForcePushOnBranches", finding.OutcomePositive),
// and so on
The text was updated successfully, but these errors were encountered:
From #3759 (comment):
can we just create a pre-defined var (for the probes that don't have other values, like the number of reviewers) so we can cut down on the lines and increase readability?
And then the tests can just reference:
Or even just a helper func to make a finding based on name + outcome?
And then we cut down on the toil/lines?
The text was updated successfully, but these errors were encountered: