Skip to content

Commit 8544714

Browse files
Revert IsWarning code path to avoid breaking change (e.g., if someone overrode OnErrorDataReceived to receive such lines)
1 parent 0c09c68 commit 8544714

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -383,10 +383,6 @@ private void ConnectToInputOutputStreams()
383383
{
384384
OutputLogger.LogWarning(evt.Data);
385385
}
386-
else if (IsWarning(evt.Data))
387-
{
388-
OutputLogger.LogWarning(evt.Data);
389-
}
390386
else if (!initializationIsCompleted)
391387
{
392388
_connectionIsReadySource.SetException(
@@ -412,11 +408,6 @@ private static bool IsDebuggerMessage(string message)
412408
message.Contains("chrome-devtools:");
413409
}
414410

415-
private static bool IsWarning(string message)
416-
{
417-
return message.StartsWith("Warning:", StringComparison.OrdinalIgnoreCase);
418-
}
419-
420411
private FileSystemWatcher BeginFileWatcher(string rootDir)
421412
{
422413
if (_watchFileExtensions == null || _watchFileExtensions.Length == 0)

0 commit comments

Comments
 (0)