We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85fd5be commit 4badbbcCopy full SHA for 4badbbc
src/PowerShellEditorServices/Services/PowerShell/Debugging/DscBreakpointCapability.cs
@@ -94,7 +94,8 @@ public static async Task<DscBreakpointCapability> GetDscCapabilityAsync(
94
PSCommand psCommand = new PSCommand()
95
.AddCommand("Import-Module")
96
.AddArgument(@"C:\Program Files\DesiredStateConfiguration\1.0.0.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psd1")
97
- .AddParameter("PassThru");
+ .AddParameter("PassThru")
98
+ .AddParameter("ErrorAction", ActionPreference.Ignore);
99
100
IReadOnlyList<PSModuleInfo> dscModule =
101
await psesHost.ExecutePSCommandAsync<PSModuleInfo>(
0 commit comments