Stability fixes: plugin-scoped contexts for owned pages, absent-href guard, checked locale mounts
CI / full-gate (push) Successful in 2m37s
CI / full-gate (push) Successful in 2m37s
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ export function checkCatalog({ baseline, baselineLocale, catalog, locale }: Pari
|
||||
}
|
||||
|
||||
for (const key of Object.keys(catalog)) {
|
||||
if (!(key in baseline)) problems.push(`unknown key "${key}" — add it to ${baselineLocale} first`);
|
||||
if (!Object.hasOwn(baseline, key)) problems.push(`unknown key "${key}" — add it to ${baselineLocale} first`);
|
||||
}
|
||||
|
||||
return problems;
|
||||
|
||||
Reference in New Issue
Block a user