Skip to content

Commit c22742b

Browse files
author
Dave Haden
committed
lukeapage#103 Pass options from checkWords to checkWord
1 parent 345505d commit c22742b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

es6/spellcheck.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function checkWords(words, options) {
8080
const mistakes = [];
8181
for (let i = 0; i < words.length; i++) {
8282
const wordInfo = words[i];
83-
if (!checkWord(wordInfo.word)) {
83+
if (!checkWord(wordInfo.word, options)) {
8484
mistakes.push(wordInfo);
8585
}
8686
}

0 commit comments

Comments
 (0)