Skip to content

Commit

Permalink
Print gradle status on cleanup error
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-mullvad committed Jun 17, 2024
1 parent 223bc3a commit 5896d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/scripts/update-lockfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function cleanup {
echo "Stopping gradle..."
../gradlew -q --stop || printf "Unable to stop gradle\n\n"
echo "Cleaning up temp dirs..."
rm -rf -- "$GRADLE_USER_HOME" "$TEMP_GRADLE_PROJECT_CACHE_DIR"
rm -rf -- "$GRADLE_USER_HOME" "$TEMP_GRADLE_PROJECT_CACHE_DIR" || ../gradlew --status
}

trap cleanup EXIT
Expand Down

0 comments on commit 5896d18

Please sign in to comment.