From a0497bd46dacb701437f62cfc065dc72bf0952c7 Mon Sep 17 00:00:00 2001 From: Prabhat Dahal Date: Fri, 21 Mar 2025 10:44:33 -0500 Subject: [PATCH] Replace whitespaces in namespaces string with commas globally instead of just the first space occurrence. (#997) Co-authored-by: Prabhat Dahal --- src/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.js b/src/common.js index 528c7ec..141cb57 100644 --- a/src/common.js +++ b/src/common.js @@ -168,7 +168,7 @@ function setup(env) { const split = (typeof namespaces === 'string' ? namespaces : '') .trim() - .replace(' ', ',') + .replace(/\s+/g, ',') .split(',') .filter(Boolean); -- 2.51.2