Skip to content

Commit

Permalink
fix(plugins/gradle): improve the test for executable.
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga authored Jan 27, 2025
1 parent 55296ce commit f1da301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/gradle/gradle.plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function gradle-or-gradlew() {
done

# if gradlew found, run it instead of gradle
if [[ -f "$project_root/gradlew" ]]; then
if [[ -x "$project_root/gradlew" ]]; then
echo "executing gradlew instead of gradle" >&2
"$project_root/gradlew" "$@"
else
Expand Down

0 comments on commit f1da301

Please sign in to comment.