From 8f9d27b8f582eb51598390f48f310a6cec6f4522 Mon Sep 17 00:00:00 2001 From: Martin Costello Date: Thu, 1 Aug 2024 19:34:27 +0100 Subject: [PATCH] :book: Fix typo in branch protections details (#4270) Fix typo in branch protections details message. Signed-off-by: Martin Costello --- probes/internal/utils/branchprotection/branchProtection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/probes/internal/utils/branchprotection/branchProtection.go b/probes/internal/utils/branchprotection/branchProtection.go index 763c396c..14f6dc11 100644 --- a/probes/internal/utils/branchprotection/branchProtection.go +++ b/probes/internal/utils/branchprotection/branchProtection.go @@ -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