Skip to content

Commit 5d94ad6

Browse files
committed
Fix test compile error
1 parent d1acc64 commit 5d94ad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/PowerShellEditorServices.Test/PsesHostFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public static PsesInternalHost Create(ILoggerFactory loggerFactory)
7474

7575
var psesHost = new PsesInternalHost(loggerFactory, null, testHostDetails);
7676

77-
psesHost.StartAsync(new HostStartOptions { LoadProfiles = true }, CancellationToken.None).GetAwaiter().GetResult();
77+
psesHost.TryStartAsync(new HostStartOptions { LoadProfiles = true }, CancellationToken.None).GetAwaiter().GetResult();
7878

7979
return psesHost;
8080
}

0 commit comments

Comments
 (0)