-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Get-ProjectName fails when alias git
exists
#136
Comments
Also the next line could have parameter |
The same problematic pattern is also in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When there is defined alias with name git, the
Get-ProjectName
command (called without parameters) emits following error message:The command itself works despite the error above.
The error could be avoided when $GitPath variable contains string
git.exe
or when theget-command
has parameter-CommandType Application
added at:https://github.com/RamblingCookieMonster/BuildHelpers/blob/master/BuildHelpers/Public/Get-ProjectName.ps1#L57
The text was updated successfully, but these errors were encountered: