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

Fixed command result checks in Get-Git-MainBranch #25

Merged
merged 1 commit into from
Apr 15, 2021
Merged

Fixed command result checks in Get-Git-MainBranch #25

merged 1 commit into from
Apr 15, 2021

Conversation

JohannesEH
Copy link
Contributor

Due to a bug in PowerShell Core 7.1 checks of $? doesn't always work, so I've changed them to a $LASTEXITCODE check.

Due to a bug in PowerShell Core 7.1 checks of $? doesn't always work, so I've changed them to a $LASTEXITCODE check.
@gluons gluons self-assigned this Apr 15, 2021
@gluons gluons merged commit a4ee525 into gluons:master Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants