From 703674104e6d8e2b97a5c822c065e4b07341481a Mon Sep 17 00:00:00 2001 From: Mikolaj Gasior Date: Mon, 30 Oct 2023 09:15:22 +0100 Subject: [PATCH] Fix use of invalid variables --- replace-string/dist/index.js | 4 ++-- replace-string/src/index.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/replace-string/dist/index.js b/replace-string/dist/index.js index 7aee435..967d461 100644 --- a/replace-string/dist/index.js +++ b/replace-string/dist/index.js @@ -30036,7 +30036,7 @@ try { } const inReplaceRegexArr = inReplaceRegex.split(/\n/); - const inReplaceWithArr = inReplaceRegex.split(/\n/); + const inReplaceWithArr = inReplaceWith.split(/\n/); console.log(inReplaceRegexArr); console.log(inReplaceWithArr); @@ -30066,7 +30066,7 @@ try { if (inReplaceRegexArr.length > 1) { for (i=0; i 1) { for (i=0; i