Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit 1f03b1e

Browse files
Tiny shortcut to reduce string checking in non-debug scenarios
1 parent 8544714 commit 1f03b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ private void ConnectToInputOutputStreams()
379379
{
380380
if (evt.Data != null)
381381
{
382-
if (IsDebuggerMessage(evt.Data))
382+
if (_launchWithDebugging && IsDebuggerMessage(evt.Data))
383383
{
384384
OutputLogger.LogWarning(evt.Data);
385385
}

0 commit comments

Comments
 (0)