1
0
Fork 0
mirror of https://github.com/avelino/awesome-go.git synced 2024-11-13 11:14:37 -05:00

inline call

This commit is contained in:
Kirill Zhuravlev 2023-02-15 00:39:17 +01:00 committed by Avelino
parent e05067733e
commit 90bd8d65f3
No known key found for this signature in database
GPG key ID: B345B4D52E98180A

View file

@ -62,8 +62,7 @@ func renderAll() error {
return fmt.Errorf("unable to drop-create out dir: %w", err)
}
err := renderIndex(readmePath, outIndexFile)
if err != nil {
if err := renderIndex(readmePath, outIndexFile); err != nil {
return fmt.Errorf("unable to convert markdown to html: %w", err)
}