Skip to content

Commit

Permalink
fix: missing continue for error recovery
Browse files Browse the repository at this point in the history
  • Loading branch information
sparkpunkd committed May 20, 2020
1 parent e64d11d commit 9b3935f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/encodings/ber/decoder/Tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ export function decodeRootElements(
if (tag !== Ber.CONTEXT(0)) {
unknownContext(rootEls, 'decode root elements', tag, options)
skipNext(reader)
continue
}
const rootEl = decodeGenericElement(reader, options) as DecodeResult<
NumberedTreeNode<EmberElement>
Expand Down

0 comments on commit 9b3935f

Please sign in to comment.