From 8d2ed24e5fca064e3203636a51a48b3e69a6ef95 Mon Sep 17 00:00:00 2001 From: Steven Mosley <34114851+AstroSteveo@users.noreply.github.com> Date: Sun, 21 Sep 2025 16:01:49 -0500 Subject: [PATCH] Update apply-config.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- apply-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apply-config.js b/apply-config.js index 8a1afd5..a32126f 100755 --- a/apply-config.js +++ b/apply-config.js @@ -30,7 +30,7 @@ function parseConfigYamlContent(content) { let value = trimmed.substring(colonIndex + 1).trim(); // Validate key format - if (!key || key.includes(" ") && !currentSection) { + if (!key || key.includes(" ")) { throw new Error(`Invalid key format on line ${lineNumber}: "${key}"`); }