Skip to content

Commit 5700921

Browse files
committed
Fix sideloaded DSC path in DscBreakpointCapability
1 parent 3fb7cc8 commit 5700921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PowerShellEditorServices/Session/Capabilities/DscBreakpointCapability.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public static DscBreakpointCapability CheckForCapability(
9494

9595
// Attempt to import the updated DSC module
9696
powerShell.AddCommand("Import-Module");
97-
powerShell.AddArgument(@"${env:ProgramFiles}\DesiredStateConfiguration\1.0.0.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psd1");
97+
powerShell.AddArgument(@"C:\Program Files\DesiredStateConfiguration\1.0.0.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psd1");
9898
powerShell.AddParameter("PassThru");
9999
powerShell.AddParameter("ErrorAction", "Ignore");
100100

0 commit comments

Comments
 (0)