Skip to content

Commit

Permalink
lint: run lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nayounsang committed Sep 4, 2024
1 parent 9837a1b commit 32cbe9b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/api/PDFDocument.ts
Original file line number Diff line number Diff line change
Expand Up @@ -991,12 +991,7 @@ export default class PDFDocument {
const bytes = toUint8Array(font);
const fontkit = this.assertFontkit();
embedder = subset
? CustomFontSubsetEmbedder.for(
fontkit,
bytes,
customName,
features,
)
? CustomFontSubsetEmbedder.for(fontkit, bytes, customName, features)
: CustomFontEmbedder.for(fontkit, bytes, customName, features);
} else {
throw new TypeError(
Expand Down

0 comments on commit 32cbe9b

Please sign in to comment.