Skip to content

Commit d90054b

Browse files
committed
Get rid of debug print.
1 parent d435ad5 commit d90054b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Rules/AvoidPositionalParameters.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ public IEnumerable<DiagnosticRecord> AnalyzeScript(Ast ast, string fileName)
5454
if ((Helper.Instance.IsCmdlet(cmdAst) || declaredFunctionNames.Contains(cmdAst.GetCommandName())) &&
5555
(Helper.Instance.PositionalParameterUsed(cmdAst)))
5656
{
57-
Console.WriteLine("Cmdlet or function call");
5857
PipelineAst parent = cmdAst.Parent as PipelineAst;
5958

6059
if (parent != null && parent.PipelineElements.Count > 1)

0 commit comments

Comments
 (0)