Skip to content

Commit

Permalink
Merge pull request #158 from cz4rny/chmod-not-braking
Browse files Browse the repository at this point in the history
Newline at end of warning
  • Loading branch information
Daniel Mikusa authored Jun 15, 2022
2 parents 25ad6d6 + fc19232 commit 74cb955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (b Build) Build(context libcnb.BuildContext) (libcnb.BuildResult, error) {
return libcnb.BuildResult{}, fmt.Errorf("unable to stat %s\n%w", command, err)
} else {
if err := os.Chmod(command, 0755); err != nil {
fmt.Printf("WARNING: unable to chmod %s:\n%s", command, err)
b.Logger.Bodyf("WARNING: unable to chmod %s:\n%s", command, err)
}
}

Expand Down

0 comments on commit 74cb955

Please sign in to comment.