Fix line numbers.

This commit is contained in:
n8225 2020-02-08 13:45:29 -06:00
parent 09afc024ff
commit 7dd2189850

View file

@ -157,7 +157,7 @@ function entryErrorCheck() {
if (entryFilter(lines[i]) === true) { // filter out lines that don't start with * [)
e = {};
e.raw = lines[i];
e.line = i
e.line = i + 1
entries.push(e);
} else if (licenseFilter(lines[i]) === true) {
licenses.add(parseLicense(lines[i]))