Skip to content

Commit 74577c5

Browse files
committed
Conform PackageType.Package to CustomStringConvertible
1 parent 8e409c1 commit 74577c5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Sources/PackageType/Package.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ public class Package {
3030
}
3131
}
3232

33+
extension Package: CustomStringConvertible {
34+
public var description: String {
35+
return name
36+
}
37+
}
38+
3339
extension Package: Hashable, Equatable {
3440
//FIXME technically version should be taken into account
3541
public var hashValue: Int { return url.hashValue }

0 commit comments

Comments
 (0)