Revert IsWarning code path to avoid breaking change (e.g., if someone overrode OnErrorDataReceived to receive such lines)
This commit is contained in:
parent
0c09c68b77
commit
8544714cbb
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue