Skip to content

Commit f3633ce

Browse files
committed
BUG/MINOR: force english language for checks
1 parent b9772aa commit f3633ce

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.aspell.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,5 @@ allowed:
3434
- req
3535
- nallowed
3636
- url
37+
- english
38+
- lang

aspell/aspell.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ func (a Aspell) Check(subjects []string, commitsFull []string, content []map[str
195195
}
196196

197197
func checkWithAspellExec(subject string) (string, error) {
198-
cmd := exec.Command("aspell", "--list")
198+
cmd := exec.Command("aspell", "--lang=en", "--list")
199199
cmd.Stdin = strings.NewReader(subject)
200200

201201
var stdout, stderr bytes.Buffer

0 commit comments

Comments
 (0)