Skip to content

fix: MacOS, Windows: No Git executable found#7

Open
alexmylonas wants to merge 1 commit intolibp2p:mainfrom
alexmylonas:issue-0001b
Open

fix: MacOS, Windows: No Git executable found#7
alexmylonas wants to merge 1 commit intolibp2p:mainfrom
alexmylonas:issue-0001b

Conversation

@alexmylonas
Copy link

Fix #1

The previous parse_version function isn't handling correctly the response of git --version for MacOS and Windows.

Before parse_version was returning:
git version 2.39.5 (Apple Git-154) -> Git-154)
git version 2.39.5.windows.1 -> 2.5.1.windows.1

Updated function returns expected X.XX.X for all OS.

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.

MacOS: No Git executable found

1 participant