From 3e260407f68a8ea532aace81112d8d9c9c185cc8 Mon Sep 17 00:00:00 2001 From: Sampson Date: Wed, 28 Jan 2026 12:58:01 -0600 Subject: [PATCH] trims values before checking lengths --- src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index a36f3f7..c17e2af 100644 --- a/src/config.ts +++ b/src/config.ts @@ -115,7 +115,7 @@ export function getOptions(): Configuration | false { // Validate tool inclusion configuration const { enabledTools, disabledTools } = options; - if (enabledTools.length > 0 && disabledTools.length > 0) { + if (enabledTools.trim().length > 0 && disabledTools.trim().length > 0) { console.error('Error: --enabled-tools and --disabled-tools cannot be used together'); return false; }