Skip to content

Commit 336708c

Browse files
authored
Merge pull request #2243 from jsmonkey/master
[spell checker]: split check report only by first delimiter entry
2 parents f11620e + 7f15ac5 commit 336708c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test_modules/checkAll/check.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ module.exports = function(files, showprogressbar, callback) {
7272
if (splitReport.length >= 3) {
7373
//build error log
7474
for (var i = 1; i <= splitReport.length - 2; i++) {
75-
var splitReason = splitReport[i].split('|');
75+
var splitReason = splitReport[i].split(/\|(.+)/);
7676
cntMdspell++;
7777
logMdSpell += '\n\n > Error: \n file: ' + fname +
7878
"\n line: " + splitReason[0] +

0 commit comments

Comments
 (0)