mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-17 00:26:41 +03:00
Reject scalar frontmatter coverage
AI assistance: Codex validated and addressed the Greptile scalar-frontmatter review finding with regression coverage.
This commit is contained in:
@@ -123,7 +123,7 @@ function hasCoverageValue(value) {
|
||||
return Object.values(value).some(hasCoverageValue);
|
||||
}
|
||||
if (typeof value === 'string') return value.trim().length > 0;
|
||||
return value !== null && value !== undefined;
|
||||
return false;
|
||||
}
|
||||
|
||||
export function checkDesignCoverage({ design, designPath, parseDesignMd }) {
|
||||
|
||||
Reference in New Issue
Block a user