| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| # after WinCompat cleanup local $PWD changes should not cause errors | ||
| Remove-module $ModuleName -Force | ||
| Pop-Location | ||
| try |
There was a problem hiding this comment.
Actually, I think all code after the first 'Push-Location' should be in the try. If any exception is thrown during the test the original location will be reverted through the finally 'Set-Location'.
Sorry, something went wrong.
There was a problem hiding this comment.
Updated.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
# Conflicts: # src/System.Management.Automation/engine/Modules/ModuleCmdletBase.cs
|
🎉v7.0.0-rc.3 has been released which incorporates this pull request.:tada: Handy links: |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
WinCompat uses background Windows PS remote session which has its own current directory. It has to be synchronized with local PS Core current directory for cases when proxy cmdlets rely on current directory.
This PR enables auto-sync of current directory in WinCompat remote session.
This came up in #11411 .
PR Checklist