Skip to content

Commit 545496f

Browse files
committed
Simplify
1 parent 3809cb9 commit 545496f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ReactiveTask/Task.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ public struct Task {
5454

5555
extension Task: CustomStringConvertible {
5656
public var description: String {
57-
return arguments.reduce(launchPath) { str, arg in
58-
return str + " \(arg)"
59-
}
57+
return "\(launchPath) \(arguments.joinWithSeparator(" "))"
6058
}
6159
}
6260

0 commit comments

Comments
 (0)