Skip to content

Commit 90367c5

Browse files
committed
Fixed compilation error.
1 parent dca7f17 commit 90367c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PowerShellEditorServices.Hosting/Commands/StartEditorServicesCommand.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ private EditorServicesConfig CreateConfigObject()
351351
var profile = (PSObject)GetVariableValue("profile");
352352

353353
var hostInfo = new HostInfo(HostName, HostProfileId, HostVersion);
354-
var initialSessionState = InitialSessionState ?? Runspace.DefaultRunspace.InitialSessionState;
354+
var initialSessionState = Runspace.DefaultRunspace.InitialSessionState;
355355
var editorServicesConfig = new EditorServicesConfig(hostInfo, Host, SessionDetailsPath, bundledModulesPath, LogPath)
356356
{
357357
FeatureFlags = FeatureFlags,

0 commit comments

Comments
 (0)