only increment the metadata line index if you can parse the line

pull/1/head
ansuz 5 years ago
parent 1c37ec7aee
commit 0a0c64d240

@ -99,9 +99,9 @@ Meta.createLineHandler = function (ref, errorHandler) {
}
if (Array.isArray(line)) {
ref.index++;
try {
handleCommand(ref.meta, line);
ref.index++;
} catch (err2) {
errorHandler("METADATA_COMMAND_ERR", {
error: err2.stack,

Loading…
Cancel
Save