creative-assets: the no-files message names the shared creative folder too

This commit is contained in:
CRTkafa 2026-10-19 05:47:54 +07:00
parent 3542b897c8
commit 7e69883dfc

View file

@ -124,7 +124,7 @@ export async function run(ctx: Ctx): Promise<void> {
const forReview = ctx.args.has('add-for-review');
const bundleId = need(config.apple?.bundleId, 'apple.bundleId');
const { src, local } = localCreative(ctx);
if (!local.size) { warn(TAG, `no creative assets in ${src}/<lang>/creative/ (header.png 3840x1646, search.png 3:2, or universal.png 5244x2950): optional; without them the App Store uses events, previews and screenshots`); return; }
if (!local.size) { warn(TAG, `no creative assets in ${src}/<lang>/creative/ or ${src}/creative/ (header.png 3840x1646, search.png 3:2, or universal.png 5244x2950): optional; without them the App Store uses events, previews and screenshots`); return; }
log(TAG, `${[...local.values()].flat().length} creative assets for ${local.size} locales pass the checks`);
let c: Awaited<ReturnType<typeof ascClient>>;