Skip to content

Commit 60b91a4

Browse files
committed
fix assert to check the correct invariant
1 parent 569d670 commit 60b91a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Build/BackEnd/Components/Logging/LoggingServiceLogMethods.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ public ProjectStartedEventArgs CreateProjectStartedForCachedProject(
574574
string targetNames,
575575
string toolsVersion)
576576
{
577-
Debug.Assert(currentNodeBuildEventContext.NodeId == Scheduler.InProcNodeId, "Cached project build events should only be logged on the in-proc scheduler node.");
577+
Debug.Assert(remoteNodeEvaluationBuildEventContext.NodeId == Scheduler.InProcNodeId, "Cached project build events should only be logged from the in-proc scheduler node.");
578578

579579
BuildEventContext validatedRemoteNodeEvaluationBuildContext = ValidatePreexistingProjectContextId(
580580
remoteNodeEvaluationBuildEventContext,

0 commit comments

Comments
 (0)