Merge pull request #3 from n8225/testpr

Fix line numbers
This commit is contained in:
n8225 2016-10-24 19:50:15 -07:00 committed by GitHub
commit f85ee937b7

View File

@ -27,8 +27,8 @@ function entryErrorCheck(md) {
if (entryArray[i].pass == true) { if (entryArray[i].pass == true) {
totalPass += 1; totalPass += 1;
//console.log(i + 1 + ". Pass: " + entryArray[i].name); //console.log(i + 1 + ". Pass: " + entryArray[i].name);
} else { } else {
console.log("Line #" + i + 1 + ". Fail: " + entryArray[i].name); console.log("Line #" + (i + 1) + ". Fail: " + entryArray[i].name);
//console.log(entries[i]); //console.log(entries[i]);
totalFail += 1; totalFail += 1;
} }