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 f6ca318 commit 22ff92aCopy full SHA for 22ff92a
Sources/Hub/Downloader.swift
@@ -347,7 +347,7 @@ extension Downloader: URLSessionDownloadDelegate {
347
348
extension FileManager {
349
func moveDownloadedFile(from srcURL: URL, to dstURL: URL) throws {
350
- if fileExists(atPath: dstURL.path()) {
+ if fileExists(atPath: dstURL.path(percentEncoded: false)) {
351
try removeItem(at: dstURL)
352
}
353
0 commit comments