We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa9b9ee commit e6d34b1Copy full SHA for e6d34b1
src/docs-generator/Domain/Generators.cs
@@ -27,7 +27,7 @@ static Generators()
27
.Ignore(p => p.Links)
28
.Ignore(p => p.Directory)
29
.RuleFor(p => p.FileName, f => f.System.FileName("md"))
30
- .RuleFor(p => p.IncludeInUpdate, f => f.Random.Float() <= Determinism.Random.ContentProbability)
+ .RuleFor(p => p.IncludeInUpdate, f => Determinism.Random.Contents.Float() <= Determinism.Random.ContentProbability)
31
.RuleFor(p => p.Sections, f => Section.Generate(Determinism.Random.Contents.Number(1, 12)).ToArray());
32
}
33
0 commit comments