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

pull/1/head
ansuz 2019-08-21 12:26:46 +02:00
parent 1c37ec7aee
commit 0a0c64d240
1 changed files with 1 additions and 1 deletions

View File

@ -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,