Skip to content

Commit da786c8

Browse files
committed
Turn on psedit registration in remote sessions
1 parent 0a69937 commit da786c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PowerShellEditorServices/Services/Workspace/RemoteFileManagerService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ public RemoteFileManagerService(
274274

275275
// TODO: Do this somewhere other than the constructor and make it async
276276
// Register the psedit function in the current runspace
277-
//this.RegisterPSEditFunction(this.powerShellContext.CurrentRunspace);
277+
this.RegisterPSEditFunction(_runspaceContext.CurrentRunspace);
278278
}
279279

280280
#endregion

0 commit comments

Comments
 (0)