From baa5086dffbf4ad359cbd9548563178cc1c646a0 Mon Sep 17 00:00:00 2001 From: familyboat <84062528+familyboat@users.noreply.github.com> Date: Tue, 27 Aug 2024 22:51:27 +0800 Subject: [PATCH] chore(yaml): fix typo in inline comment (#5845) --- yaml/parse.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yaml/parse.ts b/yaml/parse.ts index 2b560d73a..10ed0be3f 100644 --- a/yaml/parse.ts +++ b/yaml/parse.ts @@ -36,7 +36,7 @@ function sanitizeInput(input: string) { input = String(input); if (input.length > 0) { - // Add tailing `\n` if not exists + // Add trailing `\n` if not exists if (!isEOL(input.charCodeAt(input.length - 1))) input += "\n"; // Strip BOM