Skip to content

Commit

Permalink
Fix recurse in add-font-styles
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmattheussen authored Sep 6, 2023
1 parent 0bfd71b commit 381c790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parsers/add-font-styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function recurse(
tokenValue.fontStyle = 'normal';
}
} else if (typeof token === 'object') {
recurse(token as unknown as DeepKeyTokenMap<false>, boundGetRef);
recurse(token as unknown as DeepKeyTokenMap<false>, boundGetRef, alwaysAddFontStyle);
}
}
}
Expand Down

0 comments on commit 381c790

Please sign in to comment.