Skip to content

Commit 5803e48

Browse files
committed
fix: correct recursive lorem kind call
1 parent c7c7810 commit 5803e48

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Package.resolved

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sources/LoremSwiftify/LoremIpsumize+Extensions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public protocol LoremIpsumize {
1818

1919
extension LoremIpsumize {
2020
public static func lorem(_ kind: LoremKind? = nil) -> Self {
21-
lorem(kind)
21+
lorem()
2222
}
2323
}
2424

Sources/LoremSwiftifyClient/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ struct Hotel {
5050
let capacity: Capacity
5151

5252
@Lorem(.url(.image))
53-
let image: URL
53+
let image: URL?
5454

5555
@LoremSwiftify
5656
enum Capacity: Int {

0 commit comments

Comments
 (0)