Skip to content

Commit

Permalink
Just use .replace and regex
Browse files Browse the repository at this point in the history
  • Loading branch information
junedomingo committed Jan 5, 2023
1 parent 2033729 commit a669f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export const getOtherUpdateFilesContentOptions = ({
newAndroidBundleID,
newIosBundleID,
}) => {
const cleanNewPathContentStr = newPathContentStr.replaceAll(' ', '').toLowerCase();
const cleanNewPathContentStr = newPathContentStr.replace(/\s/g, '').toLowerCase();

return [
{
Expand Down

0 comments on commit a669f8d

Please sign in to comment.