mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted.git
synced 2024-11-07 16:43:17 +00:00
Fix line numbers.
This commit is contained in:
parent
09afc024ff
commit
7dd2189850
@ -157,7 +157,7 @@ function entryErrorCheck() {
|
|||||||
if (entryFilter(lines[i]) === true) { // filter out lines that don't start with * [)
|
if (entryFilter(lines[i]) === true) { // filter out lines that don't start with * [)
|
||||||
e = {};
|
e = {};
|
||||||
e.raw = lines[i];
|
e.raw = lines[i];
|
||||||
e.line = i
|
e.line = i + 1
|
||||||
entries.push(e);
|
entries.push(e);
|
||||||
} else if (licenseFilter(lines[i]) === true) {
|
} else if (licenseFilter(lines[i]) === true) {
|
||||||
licenses.add(parseLicense(lines[i]))
|
licenses.add(parseLicense(lines[i]))
|
||||||
|
Loading…
Reference in New Issue
Block a user