We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f79e38a commit 1625ac0Copy full SHA for 1625ac0
Source/Public/ConvertTo-SourceLineNumber.ps1
@@ -72,7 +72,6 @@ function ConvertTo-SourceLineNumber {
72
# These are all negative, because BinarySearch returns the match *after* the line we're searching for
73
# We need the match *before* the line we're searching for
74
# And we need it as a zero-based index:
75
- # Cast $SourceLineNumber to the type of the first item in $hit.StartLineNumber
76
$index = -2 - [Array]::BinarySearch($hit.StartLineNumber, $SourceLineNumber )
77
$Source = $hit[$index]
78
0 commit comments