From a5a93e69ec12a1077d6b2bcbe71717474583ea0d Mon Sep 17 00:00:00 2001 From: azu Date: Tue, 26 Dec 2023 22:17:36 +0900 Subject: [PATCH] fix: pass `config.includePastSponsors` to `partitionTiers` (#59) --- src/run.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/run.ts b/src/run.ts index 596fa58..7ad95c3 100644 --- a/src/run.ts +++ b/src/run.ts @@ -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)