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, '-'));