From 6dc414b9602cfae253027187f10f2585161b6e77 Mon Sep 17 00:00:00 2001 From: Pawel Trafimuk Date: Wed, 17 Jul 2024 14:24:30 +0200 Subject: [PATCH] Fixed wrong relative path in symbolic link --- SourcerySwift/Sources/SwiftTemplate.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/SourcerySwift/Sources/SwiftTemplate.swift b/SourcerySwift/Sources/SwiftTemplate.swift index 930140725..7409bdede 100644 --- a/SourcerySwift/Sources/SwiftTemplate.swift +++ b/SourcerySwift/Sources/SwiftTemplate.swift @@ -225,6 +225,7 @@ open class SwiftTemplate { try buildDir.mkpath() } originalBinaryPath = buildDir + hashPath + destinationBinaryPath = destinationBinaryPath.isRelative ? destinationBinaryPath.absolute() : destinationBinaryPath try FileManager.default.createSymbolicLink(atPath: originalBinaryPath.string, withDestinationPath: destinationBinaryPath.string) } else { try build()