Skip to content

Commit 89f817c

Browse files
committed
Adopt to path API changes
We are moving to a better model for TSC's path APIs in swiftlang/swift-tools-support-core#353. The previous API is still available (but deprecated) as much as possible, but a small change is necessary here.
1 parent 6f67cd7 commit 89f817c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDriver/Utilities/VirtualPath.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ extension TSCBasic.FileSystem {
763763
// retrieve the mod time of the underlying file. This makes build systems
764764
// that regenerate lots of symlinks but do not otherwise alter the
765765
// contents of files - like Bazel - quite happy.
766-
let path = resolveSymlinks(path)
766+
let path = try resolveSymlinks(path)
767767
#if os(Windows)
768768
// The NT epoch is 1601, so we need to add a correction factor to bridge
769769
// between Foundation.Date's insistence on using the Mac epoch time of

0 commit comments

Comments
 (0)