Skip to content

Commit e0a5cb6

Browse files
author
Kapil Borle
committed
Fix the severity level of UseIdenticalParametersDSC rule.
1 parent 159a394 commit e0a5cb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rules/UseIdenticalParametersDSC.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public IEnumerable<DiagnosticRecord> AnalyzeDSCResource(Ast ast, string fileName
5353
if (funcParamAsts.Count() != funcParamAsts2.Count())
5454
{
5555
yield return new DiagnosticRecord(string.Format(CultureInfo.CurrentCulture, Strings.UseIdenticalParametersDSCError),
56-
firstFunc.Extent, GetName(), DiagnosticSeverity.Information, fileName);
56+
firstFunc.Extent, GetName(), DiagnosticSeverity.Error, fileName);
5757
}
5858

5959
foreach (ParameterAst paramAst in funcParamAsts)

0 commit comments

Comments
 (0)