Skip to content

Commit

Permalink
fix: log replaceString if not found
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Apr 26, 2020
1 parent e55a74e commit 117824b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/workers/branch/auto-replace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export async function doAutoReplace(
let searchIndex = existingContent.indexOf(replaceString);
if (searchIndex === -1) {
logger.warn(
{ depName },
{ depName, existingContent, replaceString },
'Cannot find replaceString in current file content'
);
return existingContent;
Expand Down

0 comments on commit 117824b

Please sign in to comment.