Skip to content

Commit 4ed4861

Browse files
committed
add missing files
1 parent 5053997 commit 4ed4861

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Engine/Commands/InvokeScriptAnalyzerCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public string[] IncludeRule
7777
/// <summary>
7878
/// IncludeRule: Array of the severity types to be enabled.
7979
/// </summary>
80-
[ValidateSet("Warning", "Error", "Strict", IgnoreCase = true)]
80+
[ValidateSet("Warning", "Error", "Information", IgnoreCase = true)]
8181
[Parameter(Mandatory = false)]
8282
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
8383
public string[] Severity

Engine/Generic/DiagnosticRecord.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ public DiagnosticRecord(string message, IScriptExtent extent, string ruleName, D
9898
public enum DiagnosticSeverity : uint
9999
{
100100
/// <summary>
101-
/// STRICT: This diagnostic is trivial, but may be useful.
101+
/// Information: This diagnostic is trivial, but may be useful.
102102
/// </summary>
103-
Strict = 0,
103+
Information = 0,
104104

105105
/// <summary>
106106
/// WARNING: This diagnostic may cause a problem or does not follow PowerShell's recommended guidelines.

0 commit comments

Comments
 (0)