From a96a86e573433719c38f28117165d0962f6a8405 Mon Sep 17 00:00:00 2001 From: mwdelaney Date: Tue, 16 Sep 2025 15:12:36 -0400 Subject: [PATCH] Strip spaces from project name replacement --- .github/scripts/zeropoint-rebrand.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/scripts/zeropoint-rebrand.js b/.github/scripts/zeropoint-rebrand.js index 64093f1..eb383e5 100644 --- a/.github/scripts/zeropoint-rebrand.js +++ b/.github/scripts/zeropoint-rebrand.js @@ -72,7 +72,8 @@ async function rebrand() { console.log('\nšŸ”„ Updating files...'); // Replace text in files - replaceInFiles('ZeroPoint', projectName); + // Replace all occurrences of 'ZeroPoint' with the project name, with spaces removed + replaceInFiles('ZeroPoint', projectName.replace(/\s+/g, '')); replaceInFiles('MWDelaney', author); replaceInFiles('zeropoint', projectName.toLowerCase().replace(/\\s+/g, '-'));