Skip to content

Commit

Permalink
LINT
Browse files Browse the repository at this point in the history
  • Loading branch information
evert committed Jan 28, 2024
1 parent 43a03f0 commit 114d7f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,9 @@ export default class Parser {
fatal: true
});
try {
return new DisplayString(
textDecoder.decode(new Uint8Array(result))
);
return new DisplayString(
textDecoder.decode(new Uint8Array(result))
);
} catch (err) {
throw new ParseError(this.pos, 'Fatal error decoding UTF-8 sequence in Display String');
}
Expand Down

0 comments on commit 114d7f1

Please sign in to comment.