Skip to content

Commit 71c91d0

Browse files
authored
TSCBasic: remove uses of any from FileSystem.swift (#407)
In case any of our CI nodes still use older Swift with no support for `any`, it's better to remove this new keyword for now, especially as it has no impact on the behavior.
1 parent b2527eb commit 71c91d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/TSCBasic/FileSystem.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,10 +1162,10 @@ public final class RerootedFileSystemView: FileSystem {
11621162
// `underlyingFileSystem` is required to be `Sendable`.
11631163
extension RerootedFileSystemView: @unchecked Sendable {}
11641164

1165-
private var _localFileSystem: any FileSystem = LocalFileSystem()
1165+
private var _localFileSystem: FileSystem = LocalFileSystem()
11661166

11671167
/// Public access to the local FS proxy.
1168-
public var localFileSystem: any FileSystem {
1168+
public var localFileSystem: FileSystem {
11691169
get {
11701170
return _localFileSystem
11711171
}

0 commit comments

Comments
 (0)