Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed Dec 26, 2023
1 parent e40b0f5 commit e6cba53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/check/spelling.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ func NewSpelling(cfg *core.Config, generic baseCheck, path string) (Spelling, er
//
// We **can't** add vocabularies here because `AddWordListFile`
// doesn't support regex.
ignored, err := core.IgnoreFiles(cfg.StylesPath)
if err != nil {
return rule, err
ignored, readErr := core.IgnoreFiles(cfg.StylesPath)
if readErr != nil {
return rule, readErr
}

for _, file := range ignored {
Expand Down

0 comments on commit e6cba53

Please sign in to comment.