Skip to content

Commit

Permalink
fix from bubkoo#384
Browse files Browse the repository at this point in the history
  • Loading branch information
PJM178 committed Oct 18, 2023
1 parent 05a2712 commit 2c53036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/embed-webfonts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ async function getCSSRules(
.then((metadata) => embedFonts(metadata, options))
.then((cssText) =>
parseCSS(cssText).forEach((rule) => {
inline.insertRule(rule, sheet.cssRules.length)
inline.insertRule(rule, inline.cssRules.length)
}),
)
.catch((err: unknown) => {
Expand Down

0 comments on commit 2c53036

Please sign in to comment.