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.
Set-ScriptExtent
1 parent 1341235 commit 8ebedc6Copy full SHA for 8ebedc6
module/PowerShellEditorServices/Commands/Public/Set-ScriptExtent.ps1
@@ -25,7 +25,7 @@ function Set-ScriptExtent {
25
)
26
begin {
27
$fileContext = $psEditor.GetEditorContext().CurrentFile
28
- $extentList = [System.Collections.Generic.List[Microsoft.PowerShell.EditorServices.Extensions.FileScriptExtent, Microsoft.PowerShell.EditorServices]]::new()
+ $extentList = [System.Collections.Generic.List[[Microsoft.PowerShell.EditorServices.Extensions.FileScriptExtent, Microsoft.PowerShell.EditorServices]]]::new()
29
}
30
process {
31
if ($Extent -isnot [Microsoft.PowerShell.EditorServices.Extensions.FileScriptExtent, Microsoft.PowerShell.EditorServices]) {
0 commit comments