Skip to content

Commit

Permalink
Suppress Import-Module error in DscBreakpointCapability
Browse files Browse the repository at this point in the history
  • Loading branch information
daviwil committed Mar 18, 2017
1 parent b6b4528 commit 47c3a4e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static DscBreakpointCapability CheckForCapability(
powerShell.AddCommand("Import-Module");
powerShell.AddArgument(@"C:\Program Files\DesiredStateConfiguration\1.0.0.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psd1");
powerShell.AddParameter("PassThru");
powerShell.AddParameter("ErrorAction", "SilentlyContinue");
powerShell.AddParameter("ErrorAction", "Ignore");

PSObject moduleInfo = null;

Expand Down

0 comments on commit 47c3a4e

Please sign in to comment.