Skip to content

Commit

Permalink
add missing ;
Browse files Browse the repository at this point in the history
  • Loading branch information
MihaiValentin committed Feb 22, 2019
1 parent b38058e commit 533a03c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ for(var i = 0; i < list.length; i++) {
f = f.replace(/\{\{languageName\}\}/g, list[i].file.replace(/Stemmer\.js/g, ''));
f = f.replace(/\{\{wordCharacters\}\}/g, list[i].wordCharacters);

f = f.replace(/\{\{consoleWarning\}\}/g, list[i].warningMessage ? '\n\nconsole.warn(' + JSON.stringify(list[i].warningMessage) + ')' : '');
f = f.replace(/\{\{consoleWarning\}\}/g, list[i].warningMessage ? '\n\nconsole.warn(' + JSON.stringify(list[i].warningMessage) + ');' : '');
} else {
// beautify andminify languages not generated from the template.
f = fs.readFileSync('lunr.' + list[i].locale + '.js', 'utf8');
Expand Down

0 comments on commit 533a03c

Please sign in to comment.