Skip to content

Commit

Permalink
fix(gradle): lower log warning to debug for non-executable bit (#28844)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed May 5, 2024
1 parent 55e3452 commit 2910185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/manager/gradle-wrapper/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export async function prepareGradleCommand(
if (gradlewStat?.isFile() === true) {
// if the file is not executable by others
if (os.platform() !== 'win32' && (gradlewStat.mode & 0o1) === 0) {
logger.warn('Gradle wrapper is missing the executable bit');
logger.debug('Gradle wrapper is missing the executable bit');
// add the execution permission to the owner, group and others
await chmodLocalFile(gradlewFile, gradlewStat.mode | 0o111);
}
Expand Down

0 comments on commit 2910185

Please sign in to comment.