Skip to content

Conversation

@ninjamuffin99
Copy link
Contributor

@ninjamuffin99 ninjamuffin99 commented Aug 5, 2024

when running install command, haxelib will check to see if the current branch matches up. However when you checked something out based off a commit id, it doesn't properly check to see if the current ref matches up with the one you're trying to install.

This PR simply changes one line, using Null coalescing we fall back to using the ref as a "currentBranch" if vcsBranchesByLibraryName ends returns null

this should also fix the issue of Library remains at "<unspecified>" since it never passed through the commit id to the branch checker

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.

1 participant