File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ All notable changes to Shiny for Python will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6
6
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7
7
8
+ ## [ UNRELEASED]
9
+
10
+ ### Bug fixes
11
+
12
+ * ` shiny create ` now uses the template ` id ` rather than the directory name as the default directory. (#1666 )
13
+
8
14
## [ 1.1.0] - 2024-09-03
9
15
10
16
### New features
Original file line number Diff line number Diff line change @@ -657,7 +657,6 @@ def app_template_questions(
657
657
mode : Optional [str ] = None ,
658
658
dest_dir : Optional [Path ] = None ,
659
659
):
660
- template_dir = template .path
661
660
template_cli_name = cli_bold (cli_field (template .title or template .id ))
662
661
663
662
if mode == "express" and not template .express_available :
@@ -666,7 +665,7 @@ def app_template_questions(
666
665
)
667
666
668
667
click .echo (cli_wait (f"Creating { template_cli_name } Shiny app..." ))
669
- dest_dir = directory_prompt (dest_dir , template_dir . name )
668
+ dest_dir = directory_prompt (dest_dir , template . id )
670
669
671
670
if mode is None and template .express_available :
672
671
mode = questionary .select (
You can’t perform that action at this time.
0 commit comments