Skip to content

Commit 25819e0

Browse files
mhutchahmelsayed
authored andcommitted
Don't try to init Edge on non-Windows
It doesn't work yet
1 parent 653796c commit 25819e0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Azure.Functions.Cli/Actions/HostActions/StartHostAction.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,10 @@ private async Task PostHostStartActions(HttpSelfHostConfiguration config)
201201
DisableCoreLogging(config);
202202
DisplayHttpFunctionsInfo(config);
203203
await SetupDebuggerAsync(config);
204-
await DummyEdgeInit();
204+
if (PlatformHelper.IsWindows)
205+
{
206+
await DummyEdgeInit();
207+
}
205208
}
206209
catch (Exception ex)
207210
{

0 commit comments

Comments
 (0)