mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Tiny shortcut to reduce string checking in non-debug scenarios
This commit is contained in:
@@ -379,7 +379,7 @@ namespace Microsoft.AspNetCore.NodeServices.HostingModels
|
|||||||
{
|
{
|
||||||
if (evt.Data != null)
|
if (evt.Data != null)
|
||||||
{
|
{
|
||||||
if (IsDebuggerMessage(evt.Data))
|
if (_launchWithDebugging && IsDebuggerMessage(evt.Data))
|
||||||
{
|
{
|
||||||
OutputLogger.LogWarning(evt.Data);
|
OutputLogger.LogWarning(evt.Data);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user