Commit 80920c6
Fix exception when remoting from Windows to non-Windows (#760)
Checking for DSC capability is currently done by attempting to import
a drive qualified path to where we would expect the DSC module. This
fails during parameter validation due to an invalid drive.
This change broadens the scope of the catch block to account for this
exception.1 parent 73206f1 commit 80920c6
File tree
1 file changed
+1
-1
lines changed- src/PowerShellEditorServices/Session/Capabilities
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
0 commit comments