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:deleted branch from repository #49

Merged

Conversation

ugogalliano
Copy link
Contributor

The bug is shown when the user saves a particular repository, where default_branch is not present or has been deleted.
I created a new getBranchRepository function that catches the error, in this way the application doesn't crash.

Error.Branch.Not.Found.mov

Copy link

vercel bot commented Sep 13, 2024

@ugogalliano is attempting to deploy a commit to the balastrong's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Owner

@Balastrong Balastrong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thank you!

@Balastrong Balastrong merged commit fcc9e86 into Balastrong:main Sep 14, 2024
2 of 3 checks passed
@ugogalliano ugogalliano deleted the fix/deleted-branch-from-repository branch September 16, 2024 08:49
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.

2 participants