Skip to content

Commit f29e0fc

Browse files
committed
Change severity level to information
1 parent 55db24f commit f29e0fc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Rules/AvoidUsingInternalURLs.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
using System;
1414
using System.Collections.Generic;
15-
using System.Data.Odbc;
1615
using System.Linq;
1716
using System.Management.Automation.Language;
1817
using Microsoft.Windows.Powershell.ScriptAnalyzer.Generic;
@@ -149,7 +148,7 @@ public IEnumerable<DiagnosticRecord> AnalyzeScript(Ast ast, string fileName)
149148
new DiagnosticRecord(
150149
String.Format(CultureInfo.CurrentCulture, Strings.AvoidUsingInternalURLsError,
151150
expressionAst.Value), expressionAst.Extent,
152-
GetName(), DiagnosticSeverity.Warning, fileName);
151+
GetName(), DiagnosticSeverity.Information, fileName);
153152

154153
}
155154
}
@@ -198,7 +197,7 @@ public SourceType GetSourceType()
198197
/// <returns></returns>
199198
public RuleSeverity GetSeverity()
200199
{
201-
return RuleSeverity.Warning;
200+
return RuleSeverity.Information;
202201
}
203202

204203
/// <summary>

0 commit comments

Comments
 (0)