Skip to content

Commit

Permalink
repair the build after swiftlang/swift-tools-support-core#88
Browse files Browse the repository at this point in the history
The new parameter seems to trip up the build on Windows.  This adds the
parameter in explicitly which repairs the build.
  • Loading branch information
compnerd committed Aug 18, 2020
1 parent cebb305 commit 8da9c7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Sources/SPMTestSupport/MockDownloader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public class MockDownloader: Downloader {
public func downloadFile(
at url: Foundation.URL,
to destinationPath: AbsolutePath,
withAuthorizationProvider: AuthorizationProviding? = nil,
progress: @escaping Downloader.Progress,
completion: @escaping Downloader.Completion
) {
Expand Down
1 change: 1 addition & 0 deletions Sources/Workspace/Workspace.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1421,6 +1421,7 @@ extension Workspace {
downloader.downloadFile(
at: parsedURL,
to: archivePath,
withAuthorizationProvider: nil,
progress: { bytesDownloaded, totalBytesToDownload in
self.delegate?.downloadingBinaryArtifact(
from: url,
Expand Down

0 comments on commit 8da9c7a

Please sign in to comment.