mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
fix: log replaceString if not found
This commit is contained in:
parent
e55a74e62c
commit
117824bf77
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue