Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Jan 24, 2021
1 parent d992cd3 commit bf2c1fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/subsetFonts.js
Expand Up @@ -621,9 +621,9 @@ async function createSelfHostedGoogleFontsCssAsset(
const srcFragments = [];
for (const format of formats) {
const rawSrc = await convertFontBuffer(cssFontFaceSrc.to.rawSrc, format);
const url = `${assetGraph.root}subfont/${cssFontFaceSrc.to.baseName}-${md5HexPrefix(
rawSrc
)}${extensionByFormat[format]}`;
const url = `${assetGraph.root}subfont/${
cssFontFaceSrc.to.baseName
}-${md5HexPrefix(rawSrc)}${extensionByFormat[format]}`;
const fontAsset =
assetGraph.findAssets({ url })[0] ||
(await assetGraph.addAsset({
Expand Down

0 comments on commit bf2c1fc

Please sign in to comment.