Skip to content
Snippets Groups Projects
Commit 214676c3 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(auto-replace): use currentValue if replaceString not found

parent dc2534c9
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ export async function doAutoReplace(
newDigest,
autoReplaceData,
} = upgrade;
const { replaceString } = autoReplaceData;
const replaceString = autoReplaceData.replaceString || currentValue;
try {
let newString = replaceString;
do {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment