apple listing: asking for the version that is in review says it is locked (it said "already exists; a new version needs a higher number"); play images: a listing language missing from languages[] is skipped with the fix instead of stopping the run (play listing pushes its text). Both found by the live dry-run sweep; tests
This commit is contained in:
parent
9d6f741092
commit
b29f1c407c
4 changed files with 28 additions and 1 deletions
|
|
@ -141,7 +141,9 @@ export async function run(ctx: Ctx): Promise<void> {
|
|||
const errors: string[] = [];
|
||||
for (const code of codes) {
|
||||
const l = langOf.get(code);
|
||||
if (!l) throw new Error(`${code}: no entry in languages[] has this Play code`);
|
||||
// the listing file has a section for a language the config does not list (play listing still pushes its text):
|
||||
// there is no renders folder for it, so its images are skipped with the fix, not the whole run stopped
|
||||
if (!l) { skipped.push(`skipped ${code}: in the listing file but no entry in languages[] has play: '${code}' (add it to upload its images)`); continue; }
|
||||
const li = langImages(code, join(src, l.id), icon, tablets);
|
||||
errors.push(...li.errors);
|
||||
sets.set(code, li);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue