diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2026-05-01 07:47:05 -0300 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2026-05-01 07:47:05 -0300 |
| commit | 5b000531ea5b7f770c1d763c85020c3314b89673 (patch) | |
| tree | bc85b6609bcee4eaedffc37449d747bf8893c1dd /src | |
| parent | b320d174be0b114b70cae64112f3e584033d9e93 (diff) | |
yaml: parseArrayEntries: filter out null in mixed array
Diffstat (limited to 'src')
| -rw-r--r-- | src/data/yaml.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/yaml.js b/src/data/yaml.js index e5a15d30..58acb7c8 100644 --- a/src/data/yaml.js +++ b/src/data/yaml.js @@ -684,7 +684,7 @@ export function parseArrayEntries(entries, mapFn) { return null; } - return entries.map(mapFn); + return nonNullEntries.map(mapFn); } export function parseContributors(entries) { |