fix(init): don't prepend the default filetype with a .
This commit is contained in:
parent
a70b2fee4b
commit
4ab78ae00d
1 changed files with 1 additions and 1 deletions
|
|
@ -577,7 +577,7 @@ impl Init {
|
|||
let file_types = |name: &str| {
|
||||
Input::<String>::with_theme(&ColorfulTheme::default())
|
||||
.with_prompt("File types (space-separated)")
|
||||
.default(format!(".{name}"))
|
||||
.default(name.to_string())
|
||||
.interact_text()
|
||||
.map(|ft| {
|
||||
let mut set = HashSet::new();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue