You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tests/Rules/AvoidPositionalParameters.tests.ps1
+3-3
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
Import-Module PSScriptAnalyzer
2
-
$violationMessage="Cmdlet 'Write-Host' has positional parameter. Please use named parameters instead of positional parameters when calling a command."
2
+
$violationMessage="Cmdlet 'Get-Command' has positional parameter. Please use named parameters instead of positional parameters when calling a command."
0 commit comments