honojs / create-hono

CLI for creating a Hono app
52 stars 14 forks source link

refactor(main): remove unnecessary forEach #44

Closed 6km closed 4 months ago

6km commented 4 months ago

Hi

I have removed the loop that retrieves template names from templateDirs and directly assigned the template names to the templates variable, which now contains the template names.

This change makes the code more readable by reducing the number of lines

yusukebe commented 4 months ago

@6km

Thank you very much! templates/ is not necessary. Merging now.