Skip to content

Commit 07e760b

Browse files
committed
Change conformance of Array for YAMLRepresentable
1 parent 8b82cf8 commit 07e760b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Build/YAML.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extension Bool: YAMLRepresentable {
2626
}
2727
}
2828

29-
extension Array: YAMLRepresentable {
29+
extension Array where Element: YAMLRepresentable {
3030
var YAML: String {
3131
let stringArray = self.flatMap { $0 as? String }
3232
guard stringArray.count == self.count else { return "" }

0 commit comments

Comments
 (0)