Skip to content

Commit 1341235

Browse files
Add missing argument to FromPositions
1 parent 3e0ca95 commit 1341235

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

module/PowerShellEditorServices/Commands/Public/ConvertTo-ScriptExtent.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ function ConvertTo-ScriptExtent {
111111
if (-not $EndColumnNumber) { $EndColumnNumber = 1 }
112112

113113
return [Microsoft.PowerShell.EditorServices.Extensions.FileScriptExtent, Microsoft.PowerShell.EditorServices]::FromPositions(
114+
$fileContext,
114115
$StartLineNumber,
115116
$StartColumnNumber,
116117
$EndLineNumber,

0 commit comments

Comments
 (0)