Skip to content

Commit 3834b81

Browse files
committed
Use str.joined(separator:) over joined(by:), which was implicitly imported from Algorithms
1 parent 78280ba commit 3834b81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftlyCore/Platform.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ extension Platform {
185185
let swiftlyBinDir = self.swiftlyBinDir(ctx)
186186
pathComponents.removeAll(where: { $0 == swiftlyBinDir.path })
187187

188-
newEnv["PATH"] = String(pathComponents.joined(by: ":"))
188+
newEnv["PATH"] = String(pathComponents.joined(separator: ":"))
189189

190190
return newEnv
191191
}

0 commit comments

Comments
 (0)