diff --git a/package-lock.json b/package-lock.json index 7793932..07f8eb9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "react-native-rename", - "version": "3.2.4", + "version": "3.2.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "react-native-rename", - "version": "3.2.4", + "version": "3.2.5", "license": "MIT", "dependencies": { "chalk": "^5.2.0", diff --git a/package.json b/package.json index 848cd37..86d16c4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-rename", - "version": "3.2.4", + "version": "3.2.5", "description": "Rename react-native app with just one command", "main": "lib/index.js", "type": "module", diff --git a/src/paths.js b/src/paths.js index dc2e76f..4c6172d 100644 --- a/src/paths.js +++ b/src/paths.js @@ -289,7 +289,7 @@ export const getOtherUpdateFilesContentOptions = ({ newAndroidBundleID, newIosBundleID, }) => { - const cleanNewPathContentStr = newPathContentStr.replaceAll(' ', '').toLowerCase(); + const cleanNewPathContentStr = newPathContentStr.replace(/\s/g, '').toLowerCase(); return [ {