Skip to content

Commit 19ee56e

Browse files
committed
fix: formatter validation message
1 parent 0ad84c8 commit 19ee56e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/config/formatters.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type Formatters struct {
1414
func (f *Formatters) Validate() error {
1515
for _, n := range f.Enable {
1616
if !slices.Contains(getAllFormatterNames(), n) {
17-
return fmt.Errorf("%s is a formatter", n)
17+
return fmt.Errorf("%s is not a formatter", n)
1818
}
1919
}
2020

0 commit comments

Comments
 (0)