Skip to content

Commit a1d7b2c

Browse files
authored
Workspace: fix warning applying @sendable annotation (#7980)
1 parent b31ef40 commit a1d7b2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Workspace/Workspace+BinaryArtifacts.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ extension Workspace {
579579
artifact: RemoteArtifact,
580580
destination: AbsolutePath,
581581
observabilityScope: ObservabilityScope,
582-
progress: @escaping (Int64, Optional<Int64>) -> Void,
582+
progress: @escaping @Sendable (Int64, Optional<Int64>) -> Void,
583583
completion: @escaping (Result<Bool, Error>) -> Void
584584
) {
585585
// not using cache, download directly
@@ -651,7 +651,7 @@ extension Workspace {
651651
artifact: RemoteArtifact,
652652
destination: AbsolutePath,
653653
observabilityScope: ObservabilityScope,
654-
progress: @escaping (Int64, Optional<Int64>) -> Void,
654+
progress: @escaping @Sendable (Int64, Optional<Int64>) -> Void,
655655
completion: @escaping (Result<Void, Error>) -> Void
656656
) {
657657
observabilityScope.emit(debug: "downloading \(artifact.url) to \(destination)")

0 commit comments

Comments
 (0)