Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannis-Mittenzwei committed Dec 10, 2024
1 parent 1efa3b5 commit 789027c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exasol/toolbox/tools/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def install_template(template: str, dest: Path, pkg: str, template_type: str) ->
Attention: If there is an existing template with the same name it will be overwritten!
"""
if not dest.exists():
dest.mkdir()
dest.mkdir(parents=True)

try:
templates = _select_templates(template, pkg, template_type)
Expand Down
1 change: 0 additions & 1 deletion exasol/toolbox/tools/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ def install_workflow(
Attention: If there is an existing workflow with the same name it will be overwritten!
"""
dest.mkdir(parents=True)
template.install_template(
template=workflow, dest=dest, pkg=PKG, template_type=TEMPLATE_TYPE
)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Create project directory
$ mkdir .github
$ mkdir .github/workflows

install issue
$ tbx issue install bug
Installed bug in .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Create project directory
$ mkdir .github
$ mkdir .github/workflows

install workflow
$ tbx workflow install pr-merge
Installed pr-merge in .github/workflows/pr-merge.yml

0 comments on commit 789027c

Please sign in to comment.