Skip to content

Commit

Permalink
fix: pass config.includePastSponsors to partitionTiers (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
azu authored Dec 26, 2023
1 parent 35f29ec commit a5a93e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export async function run(inlineConfig?: SponsorkitConfig, t = consola) {
}

export async function defaultComposer(composer: SvgComposer, sponsors: Sponsorship[], config: SponsorkitConfig) {
const tierPartitions = partitionTiers(sponsors, config.tiers!)
const tierPartitions = partitionTiers(sponsors, config.tiers!, config.includePastSponsors)

composer.addSpan(config.padding?.top ?? 20)

Expand Down

0 comments on commit a5a93e6

Please sign in to comment.