Skip to content

Commit

Permalink
fix: cli file generator for resources_error_handlers_py
Browse files Browse the repository at this point in the history
  • Loading branch information
CheeseCake87 committed Aug 8, 2024
1 parent fb57af8 commit dddb007
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/flask_imp/_cli/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def slim_app(app_folder: Path) -> None:
from .filelib.init import init_slim_py
from .filelib.extensions import extensions_init_slim_py
from .filelib.resources import resources_cli_py
from .filelib.resources import resources_error_handlers_py
from .filelib.templates import templates_error_html

app_name = app_folder.name
Expand Down Expand Up @@ -126,7 +127,7 @@ def slim_app(app_folder: Path) -> None:
),
"resources/error_handlers/error_handlers.py": (
folders["resources/error_handlers"] / "error_handlers.py",
resources_cli_py(),
resources_error_handlers_py(),
),
"resources/static/favicon.ico": (
folders["resources/static"] / "favicon.ico",
Expand All @@ -153,6 +154,7 @@ def full_app(app_folder: Path) -> None:
from .filelib.extensions import extensions_init_full_py
from .filelib.models import models_example_user_table_py
from .filelib.resources import resources_cli_py
from .filelib.resources import resources_error_handlers_py
from .filelib.resources import resources_context_processors_py
from .filelib.resources import resources_filters_py
from .filelib.resources import resources_routes_py
Expand Down Expand Up @@ -201,7 +203,7 @@ def full_app(app_folder: Path) -> None:
),
"resources/error_handlers/error_handlers.py": (
folders["resources/error_handlers"] / "error_handlers.py",
resources_cli_py(),
resources_error_handlers_py(),
),
"resources/filters/filters.py": (
folders["resources/filters"] / "filters.py",
Expand Down

0 comments on commit dddb007

Please sign in to comment.