Skip to content

Commit

Permalink
Remove unused parameter from helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Aug 25, 2021
1 parent fec1e65 commit 4ca7031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/subsetFonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function groupTextsByFontFamilyProps(
});
}

function getParents(assetGraph, asset, assetQuery) {
function getParents(asset, assetQuery) {
const assetMatcher = compileQuery(assetQuery);
const seenAssets = new Set();
const parents = [];
Expand Down Expand Up @@ -1199,7 +1199,7 @@ These glyphs are used on your site, but they don't exist in the font you applied

if (googleFontStylesheetRelation.type === 'CssImport') {
// Gather Html parents. Relevant if we are dealing with CSS @import relations
htmlParents = getParents(assetGraph, googleFontStylesheetRelation.to, {
htmlParents = getParents(googleFontStylesheetRelation.to, {
type: 'Html',
isInline: false,
isLoaded: true,
Expand Down

0 comments on commit 4ca7031

Please sign in to comment.