Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NPE when Git repository is empty #319

Merged
merged 1 commit into from
May 7, 2024
Merged

Conversation

Malax
Copy link
Member

@Malax Malax commented May 7, 2024

Previously, when the working directory contains a Git repository without any commits, heroku-jvm-application-deployer crashed with a NullPointerException. This case is now handled gracefully.

@Malax Malax force-pushed the malax/fix-empty-git-repository branch from d22034e to 884984d Compare May 7, 2024 08:59
@Malax Malax marked this pull request as ready for review May 7, 2024 08:59
@Malax Malax requested a review from a team as a code owner May 7, 2024 08:59
@Malax Malax mentioned this pull request May 7, 2024
@Malax Malax merged commit bd6642b into main May 7, 2024
4 of 5 checks passed
@Malax Malax deleted the malax/fix-empty-git-repository branch May 7, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants