Skip to content

Commit 38712a7

Browse files
authored
Merge pull request #659 from filipw/error-checks
fixed errorDiagnostics check
2 parents cdd0617 + 8015eee commit 38712a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dotnet.Script.Core/ScriptConsole.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public virtual void WriteDiagnostics(Diagnostic[] warningDiagnostics, Diagnostic
5151
}
5252
}
5353

54-
if (warningDiagnostics != null)
54+
if (errorDiagnostics != null)
5555
{
5656
foreach (var error in errorDiagnostics)
5757
{

0 commit comments

Comments
 (0)