Skip to content

Commit

Permalink
Fixed wrong relative path in symbolic link
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-trafimuk committed Jul 17, 2024
1 parent 9062519 commit 6dc414b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SourcerySwift/Sources/SwiftTemplate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6dc414b

Please sign in to comment.