Browse Source

Fix line numbers.

pull/1977/head
n8225 2 years ago
parent
commit
7dd2189850
  1. 2
      tests/test.js

2
tests/test.js

@ -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]))

Loading…
Cancel
Save