File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Sources/BuildSystemIntegration Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -987,14 +987,11 @@ package actor BuildSystemManager: QueueBasedMessageHandler {
987987 logger. fault ( " Did not compute depth for target \( buildTarget. id) " )
988988 depth = 0
989989 }
990- let targetDependents : Set < BuildTargetIdentifier >
991- if let d = dependents [ buildTarget. id] {
992- targetDependents = d
993- } else {
994- logger. fault ( " Did not compute dependents for target \( buildTarget. id) " )
995- targetDependents = [ ]
996- }
997- result [ buildTarget. id] = BuildTargetInfo ( target: buildTarget, depth: depth, dependents: targetDependents)
990+ result [ buildTarget. id] = BuildTargetInfo (
991+ target: buildTarget,
992+ depth: depth,
993+ dependents: dependents [ buildTarget. id] ?? [ ]
994+ )
998995 }
999996 return result
1000997 }
You can’t perform that action at this time.
0 commit comments