Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BernieWhite committed Nov 22, 2023
1 parent b2a0c8f commit 33d9dc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PSRule.Tool/ClientHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ internal sealed class ClientHelper
private const int ERROR_MODULE_FAILEDTOFIND = 502;

private const int ERROR_MODULE_ADD_VIOLATES_CONSTRAINT = 503;


/// <summary>
/// One or more failures occurred.
Expand All @@ -60,7 +60,7 @@ public static int RunAnalyze(AnalyzerOptions operationOptions, ClientContext cli
option.Include.Path = operationOptions.Path;

// Build command
var builder = CommandLineBuilder.Assert(operationOptions.Module, file, option, host);
var builder = CommandLineBuilder.Assert(operationOptions.Module, option, host, file);
builder.Baseline(BaselineOption.FromString(operationOptions.Baseline));
builder.InputPath(inputPath);
builder.UnblockPublisher(PUBLISHER);
Expand Down

0 comments on commit 33d9dc6

Please sign in to comment.