Skip to content

Commit 8da9c7a

Browse files
committed
The new parameter seems to trip up the build on Windows. This adds the parameter in explicitly which repairs the build.
1 parent cebb305 commit 8da9c7a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Sources/SPMTestSupport/MockDownloader.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public class MockDownloader: Downloader {
4949
public func downloadFile(
5050
at url: Foundation.URL,
5151
to destinationPath: AbsolutePath,
52+
withAuthorizationProvider: AuthorizationProviding? = nil,
5253
progress: @escaping Downloader.Progress,
5354
completion: @escaping Downloader.Completion
5455
) {

Sources/Workspace/Workspace.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1421,6 +1421,7 @@ extension Workspace {
14211421
downloader.downloadFile(
14221422
at: parsedURL,
14231423
to: archivePath,
1424+
withAuthorizationProvider: nil,
14241425
progress: { bytesDownloaded, totalBytesToDownload in
14251426
self.delegate?.downloadingBinaryArtifact(
14261427
from: url,

0 commit comments

Comments
 (0)