Skip to content

Commit

Permalink
fix(logs): remove variable from a template literal for a warn message…
Browse files Browse the repository at this point in the history
… for gradle (#16789)

logs: tidy up warn message for grade file not found
  • Loading branch information
Gabriel-Ladzaretti committed Jul 26, 2022
1 parent adccb9c commit 871b069
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/modules/manager/gradle/extract.spec.ts
Expand Up @@ -49,7 +49,7 @@ describe('modules/manager/gradle/extract', () => {

expect(logger.logger.warn).toHaveBeenCalledWith(
{ err, config: {}, packageFile: filename },
`Failed to process Gradle file: ${filename}`
`Failed to process Gradle file`
);
});

Expand Down
2 changes: 1 addition & 1 deletion lib/modules/manager/gradle/extract.ts
Expand Up @@ -87,7 +87,7 @@ export async function extractAllPackageFiles(
} catch (err) {
logger.warn(
{ err, config, packageFile },
`Failed to process Gradle file: ${packageFile}`
`Failed to process Gradle file`
);
}
}
Expand Down

0 comments on commit 871b069

Please sign in to comment.