From 37c35560e9c646b185c7387083cba3d1bc606ab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=A9=98?= Date: Tue, 19 May 2026 05:41:18 +0000 Subject: [PATCH] docs: fix parseMinimalYaml JSDoc (nit from #352 review) Refs #351 --- .../src/frontmatter-markdown/frontmatter-markdown.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/workflow-util/src/frontmatter-markdown/frontmatter-markdown.ts b/packages/workflow-util/src/frontmatter-markdown/frontmatter-markdown.ts index c13ccf6..ae92108 100644 --- a/packages/workflow-util/src/frontmatter-markdown/frontmatter-markdown.ts +++ b/packages/workflow-util/src/frontmatter-markdown/frontmatter-markdown.ts @@ -135,7 +135,7 @@ function parseKeyValue( * - Scalar key: value pairs * - Block sequences under a key (items prefixed with ` - `) * - * Returns a plain object. Throws on structural errors. + * Returns a plain object. Never throws — unparseable lines are silently skipped. */ function parseMinimalYaml(yaml: string): Record { const result: Record = {};