test exit properly

This commit is contained in:
nrew225 2016-10-24 19:39:35 -07:00
parent 37b9bdbfc6
commit a3ba5ed901

View File

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