Skip to content

Commit 4ab78ae

Browse files
committed
fix(init): don't prepend the default filetype with a .
1 parent a70b2fe commit 4ab78ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ impl Init {
577577
let file_types = |name: &str| {
578578
Input::<String>::with_theme(&ColorfulTheme::default())
579579
.with_prompt("File types (space-separated)")
580-
.default(format!(".{name}"))
580+
.default(name.to_string())
581581
.interact_text()
582582
.map(|ft| {
583583
let mut set = HashSet::new();

0 commit comments

Comments
 (0)