forked from PowerShell/PowerShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
InitialSessionState: Refactor
SetSessionStateDrive
in preparation f…
…or adding working directory configuration support (see next commit) Behavior should be unchanged, except that the catch-all `try` block was shortened to the relevant part of the function – exceptions thrown by the rest of the function are unrelated to drive and location configuration and indicate serious issues which should probably be propagated.
- Loading branch information
1 parent
9fe339b
commit 16ad989
Showing
1 changed file
with
59 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters