From c5e6ac37faf2c925edf42abb09fa86940ee6d76c Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Mon, 25 Dec 2023 02:12:52 +0100 Subject: [PATCH] Reworked the index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 6493e49..2d9cbe1 100644 --- a/index.js +++ b/index.js @@ -54,7 +54,7 @@ async function readReplaceAndWriteFiles(pattern, prefix) { let processPromise = fs.promises .readFile(file, "utf8") .then((content) => { - content = replacePlaceholders(content, replacements); + content = replacePlaceholders(content); return fs.promises.writeFile(file, content); });