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 751f0b2 commit fe2a091Copy full SHA for fe2a091
Sources/Workspace/WorkspaceState.swift
@@ -146,8 +146,8 @@ fileprivate struct WorkspaceStateStorage {
146
init (dependencies: Workspace.ManagedDependencies, artifacts: Workspace.ManagedArtifacts) {
147
self.version = 4
148
self.object = .init(
149
- dependencies: dependencies.map { .init($0) },
150
- artifacts: artifacts.map {.init($0) }
+ dependencies: dependencies.map { .init($0) }.sorted { $0.packageRef.identity < $1.packageRef.identity },
+ artifacts: artifacts.map { .init($0) }.sorted { $0.packageRef.identity < $1.packageRef.identity }
151
)
152
}
153
0 commit comments