Skip to content

Commit 789027c

Browse files
bug fix
1 parent 1efa3b5 commit 789027c

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

exasol/toolbox/tools/template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def install_template(template: str, dest: Path, pkg: str, template_type: str) ->
120120
Attention: If there is an existing template with the same name it will be overwritten!
121121
"""
122122
if not dest.exists():
123-
dest.mkdir()
123+
dest.mkdir(parents=True)
124124

125125
try:
126126
templates = _select_templates(template, pkg, template_type)

exasol/toolbox/tools/workflow.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ def install_workflow(
5656
5757
Attention: If there is an existing workflow with the same name it will be overwritten!
5858
"""
59-
dest.mkdir(parents=True)
6059
template.install_template(
6160
template=workflow, dest=dest, pkg=PKG, template_type=TEMPLATE_TYPE
6261
)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Create project directory
2+
$ mkdir .github
3+
$ mkdir .github/workflows
4+
5+
install issue
6+
$ tbx issue install bug
7+
Installed bug in .github/ISSUE_TEMPLATE/bug.md
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Create project directory
2+
$ mkdir .github
3+
$ mkdir .github/workflows
4+
5+
install workflow
6+
$ tbx workflow install pr-merge
7+
Installed pr-merge in .github/workflows/pr-merge.yml

0 commit comments

Comments
 (0)