Skip to content

Commit fda7e1e

Browse files
authored
Merge pull request #44 from MWDelaney/next
next
2 parents 97bf177 + a96a86e commit fda7e1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/scripts/zeropoint-rebrand.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ async function rebrand() {
7272
console.log('\n🔄 Updating files...');
7373

7474
// Replace text in files
75-
replaceInFiles('ZeroPoint', projectName);
75+
// Replace all occurrences of 'ZeroPoint' with the project name, with spaces removed
76+
replaceInFiles('ZeroPoint', projectName.replace(/\s+/g, ''));
7677
replaceInFiles('MWDelaney', author);
7778
replaceInFiles('zeropoint', projectName.toLowerCase().replace(/\\s+/g, '-'));
7879

0 commit comments

Comments
 (0)