repochecker: Remove indication on how to circumvent forbidden-string
This commit is contained in:
parent
eeced21be8
commit
3c457015eb
|
@ -35,7 +35,7 @@ func GrammalecteCheckMDText(str string, lang string, exceptions *sync.CheckExcep
|
||||||
for _, s := range forbiddenStrings {
|
for _, s := range forbiddenStrings {
|
||||||
if strings.Contains(str, s) {
|
if strings.Contains(str, s) {
|
||||||
if !exceptions.HasException(":not-forbidden-string:" + s) {
|
if !exceptions.HasException(":not-forbidden-string:" + s) {
|
||||||
errs = multierr.Append(errs, fmt.Errorf("Forbidden raw string %q included in file content, don't write it (:not-forbidden-string:%s)", s, s))
|
errs = multierr.Append(errs, fmt.Errorf("Forbidden string %q included in file content, don't write your flag in text", s))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user