Skip to content

Commit 4f458a0

Browse files
committed
add comment
1 parent f7eccfe commit 4f458a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/command/render/render-contexts.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,10 @@ function mergeQuartoConfigs(
362362

363363
// bibliography needs to always be an array so it can be merged
364364
const fixupMergeableScalars = (metadata: Metadata) => {
365+
// see https://github.com/quarto-dev/quarto-cli/pull/12372
366+
// and https://github.com/quarto-dev/quarto-cli/pull/12369
367+
// for more details on why we need this check, as a consequence of an unintuitive
368+
// ordering of YAML validation operations
365369
if (metadata === null) return metadata;
366370
[
367371
kBibliography,

0 commit comments

Comments
 (0)