Skip to content

Commit

Permalink
added $file to the ArgumentList
Browse files Browse the repository at this point in the history
  • Loading branch information
ybeltrikov committed Jan 23, 2024
1 parent 2de4aa2 commit 8cbd1e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Since version 1.17.0, you can include a **SuggestedCorrections** property of typ
$objParams = @{
TypeName = 'Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.CorrectionExtent'
ArgumentList = $startLineNumber, $endLineNumber, $startColumnNumber,
$endColumnNumber, $correction, $optionalDescription
$endColumnNumber, $correction, $file, $optionalDescription
}
$correctionExtent = New-Object @objParams
$suggestedCorrections = New-Object System.Collections.ObjectModel.Collection[$($objParams.TypeName)]
Expand Down

0 comments on commit 8cbd1e4

Please sign in to comment.