Skip to content

Commit

Permalink
🔨 revert render change
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Jun 14, 2024
1 parent 3aca86b commit 62d0c22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ozi/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def map_to_template(
:return: template path
:rtype: str
"""
x = '' # pragma: no cover
match fix, filename:
case ['test' | 'root', f] if f.endswith('.py'):
x = 'tests/new_test.py.j2'
Expand All @@ -74,6 +73,8 @@ def map_to_template(
x = f'project.name/{f}.j2'
case ['test', f]:
x = f'tests/{f}.j2'
case [_, _]: # pragma: no cover
x = ''
return x


Expand Down

0 comments on commit 62d0c22

Please sign in to comment.