Skip to content

Commit e6d34b1

Browse files
committed
get float from content random
1 parent aa9b9ee commit e6d34b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docs-generator/Domain/Generators.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ static Generators()
2727
.Ignore(p => p.Links)
2828
.Ignore(p => p.Directory)
2929
.RuleFor(p => p.FileName, f => f.System.FileName("md"))
30-
.RuleFor(p => p.IncludeInUpdate, f => f.Random.Float() <= Determinism.Random.ContentProbability)
30+
.RuleFor(p => p.IncludeInUpdate, f => Determinism.Random.Contents.Float() <= Determinism.Random.ContentProbability)
3131
.RuleFor(p => p.Sections, f => Section.Generate(Determinism.Random.Contents.Number(1, 12)).ToArray());
3232
}
3333

0 commit comments

Comments
 (0)