0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 04:30:25 +00:00

Fix markdown example for OTP-27

This commit is contained in:
Loïc Hoguin 2024-11-07 13:28:26 +01:00
parent e761e3ba7b
commit 9f0f2a89d7
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
3 changed files with 3 additions and 1583 deletions

View file

@ -17,7 +17,7 @@ maybe_generate_markdown(Path) ->
ModifiedAt = filelib:last_modified(source_path(Path)),
GeneratedAt = filelib:last_modified(Path),
case ModifiedAt > GeneratedAt of
true -> erlmarkdown:conv_file(source_path(Path), Path);
true -> markdown:conv_file(source_path(Path), Path);
false -> ok
end.