You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
solves the issue with the same behavior, as according to the docs, this is the default behavior of the function (setting env var on process scope). Checking for .Net Core version and when detected, calling without last param solves this issue.
The text was updated successfully, but these errors were encountered:
Check the posh-git FAQ first and if your question is not answered, PLEASE fill in these details so that we can help you!
System Details
Issue Description
When loading the module, PS Core complains about line 234 of GitUtils.ps1 containing
that the last argument is not needed (and unkown to PS Core).
Unable to find type [EnvironmentVariableTarget].
And indeed, according to the docs, there is no last parameter to this function in .Net Core. Changing the line to
solves the issue with the same behavior, as according to the docs, this is the default behavior of the function (setting env var on process scope). Checking for .Net Core version and when detected, calling without last param solves this issue.
The text was updated successfully, but these errors were encountered: