Skip to content

Commit

Permalink
Improve the code based on the review comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
krymtkts committed Dec 31, 2023
1 parent dfcee1b commit 98c5a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generator.fs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ module Rendering =
promise {
let! files = getMarkdownFiles sourceDir
let! metas = files |> List.map readSource |> Promise.all
let metas = metas |> Array.filter (fun m -> m.publish)
let metas = metas |> Array.filter _.publish

return!
metas
Expand Down

0 comments on commit 98c5a09

Please sign in to comment.