From fe31f30d404a8456ff1ad1992978d685d804ec9a Mon Sep 17 00:00:00 2001 From: Charles Milette Date: Sat, 26 Feb 2022 23:40:51 -0500 Subject: [PATCH] Fix missing replacement --- build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.js b/build.js index 43b0b99..5179d05 100644 --- a/build.js +++ b/build.js @@ -17,7 +17,7 @@ function replaceInFile(file, original, replacement, callback) { fs.readFile(file, "UTF-8", (err, data) => { assertSuccess(err); - fs.writeFile(file, data.replace(original, replacement), "UTF-8", err => { + fs.writeFile(file, data.replaceAll(original, replacement), "UTF-8", err => { assertSuccess(err); if (callback) {