Make pwsh able to start in a directory with wildcards in the name (#7240)

This commit is contained in:
James Truher [MSFT] authored and Dongbo Wang committed 2018-07-12 15:10:31 -07:00
1 parent 5702e3f57a
commit d61ea03694
2 files changed
+25

No files matched your search

@@ -3229,6 +3229,7 @@ namespace System.Management.Automation.Runspaces
try
{
providerContext.SuppressWildcardExpansion = true;
context.EngineSessionState.SetLocation(Directory.GetCurrentDirectory(), providerContext);
}
catch (ItemNotFoundException)