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.
2 parents 46f5b64 + ce34ec2 commit 44acd0dCopy full SHA for 44acd0d
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