Skip to content

Commit 0ba9586

Browse files
authored
Fix deprecation warnings (#6915)
1 parent 121c607 commit 0ba9586

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/PackageModel/UserToolchain.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ public final class UserToolchain: Toolchain {
4242

4343
/// Path containing Swift resources for dynamic linking.
4444
public var swiftResourcesPath: AbsolutePath? {
45-
destination.pathsConfiguration.swiftResourcesPath
45+
swiftSDK.pathsConfiguration.swiftResourcesPath
4646
}
4747

4848
/// Path containing Swift resources for static linking.
4949
public var swiftStaticResourcesPath: AbsolutePath? {
50-
destination.pathsConfiguration.swiftStaticResourcesPath
50+
swiftSDK.pathsConfiguration.swiftStaticResourcesPath
5151
}
5252

5353
/// Additional flags to be passed to the build tools.

0 commit comments

Comments
 (0)