diff --git a/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs b/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs index dac718b..8a4894c 100644 --- a/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs +++ b/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs @@ -383,10 +383,6 @@ namespace Microsoft.AspNetCore.NodeServices.HostingModels { OutputLogger.LogWarning(evt.Data); } - else if (IsWarning(evt.Data)) - { - OutputLogger.LogWarning(evt.Data); - } else if (!initializationIsCompleted) { _connectionIsReadySource.SetException( @@ -412,11 +408,6 @@ namespace Microsoft.AspNetCore.NodeServices.HostingModels message.Contains("chrome-devtools:"); } - private static bool IsWarning(string message) - { - return message.StartsWith("Warning:", StringComparison.OrdinalIgnoreCase); - } - private FileSystemWatcher BeginFileWatcher(string rootDir) { if (_watchFileExtensions == null || _watchFileExtensions.Length == 0)