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.
2 parents d59c9e0 + 67c42bd commit 415d6f8Copy full SHA for 415d6f8
Sources/TSCBasic/FileSystem.swift
@@ -342,7 +342,7 @@ private class LocalFileSystem: FileSystem {
342
}
343
344
var cachesDirectory: AbsolutePath? {
345
- return FileManager.default.urls(for: .cachesDirectory, in: .userDomainMask).first.flatMap { AbsolutePath($0.absoluteString) }
+ return FileManager.default.urls(for: .cachesDirectory, in: .userDomainMask).first.flatMap { AbsolutePath($0.path) }
346
347
348
func getDirectoryContents(_ path: AbsolutePath) throws -> [String] {
0 commit comments