We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e58ab1 commit ce34ec2Copy full SHA for ce34ec2
Sources/SKSwiftPMWorkspace/SwiftPMBuildSystem.swift
@@ -433,7 +433,7 @@ extension SwiftPMBuildSystem: SKCore.BuildSystem {
433
public func topologicalSort(of targets: [ConfiguredTarget]) -> [ConfiguredTarget]? {
434
return targets.sorted { (lhs: ConfiguredTarget, rhs: ConfiguredTarget) -> Bool in
435
let lhsIndex = self.targets[lhs]?.index ?? self.targets.count
436
- let rhsIndex = self.targets[lhs]?.index ?? self.targets.count
+ let rhsIndex = self.targets[rhs]?.index ?? self.targets.count
437
return lhsIndex < rhsIndex
438
}
439
0 commit comments