mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-19 04:57:14 +03:00
📖 Fix typo in branch protections details (#4270)
Fix typo in branch protections details message. Signed-off-by: Martin Costello <martin@martincostello.com>
This commit is contained in:
parent
99bc1aa2ec
commit
8f9d27b8f5
@ -32,7 +32,7 @@ func GetTextOutcomeFromBool(b *bool, rule, branchName string) (string, finding.O
|
||||
msg := fmt.Sprintf("'%s' is required to merge on branch '%s'", rule, branchName)
|
||||
return msg, finding.OutcomeTrue, nil
|
||||
case !*b:
|
||||
msg := fmt.Sprintf("'%s' is disable on branch '%s'", rule, branchName)
|
||||
msg := fmt.Sprintf("'%s' is disabled on branch '%s'", rule, branchName)
|
||||
return msg, finding.OutcomeFalse, nil
|
||||
}
|
||||
return "", finding.OutcomeError, errWrongValue
|
||||
|
Loading…
Reference in New Issue
Block a user