Skip to content

Commit

Permalink
Set Path default value
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasNieto committed Feb 14, 2023
1 parent 8826d1c commit ab1dd25
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Engine/Commands/InvokeScriptAnalyzerCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,10 @@ public class InvokeScriptAnalyzerCommand : PSCmdlet, IOutputWriter
/// </summary>
[Parameter(Position = 0,
ParameterSetName = ParameterSet_Path_IncludeSuppressed,
Mandatory = true,
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[Parameter(Position = 0,
ParameterSetName = ParameterSet_Path_SuppressedOnly,
Mandatory = true,
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNull]
Expand All @@ -57,7 +55,7 @@ public string Path
get { return path; }
set { path = value; }
}
private string path;
private string path = ".";

/// <summary>
/// ScriptDefinition: a script definition in the form of a string to run rules on.
Expand Down

0 comments on commit ab1dd25

Please sign in to comment.