only increment the metadata line index if you can parse the line
This commit is contained in:
@@ -99,9 +99,9 @@ Meta.createLineHandler = function (ref, errorHandler) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (Array.isArray(line)) {
|
if (Array.isArray(line)) {
|
||||||
ref.index++;
|
|
||||||
try {
|
try {
|
||||||
handleCommand(ref.meta, line);
|
handleCommand(ref.meta, line);
|
||||||
|
ref.index++;
|
||||||
} catch (err2) {
|
} catch (err2) {
|
||||||
errorHandler("METADATA_COMMAND_ERR", {
|
errorHandler("METADATA_COMMAND_ERR", {
|
||||||
error: err2.stack,
|
error: err2.stack,
|
||||||
|
|||||||
Reference in New Issue
Block a user