File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -247,8 +247,8 @@ pub fn build_template(location: Option<PathBuf>) {
247
247
248
248
let mod_id = format ! (
249
249
"{}.{}" ,
250
- final_developer. to_lowercase( ) . replace( ' ' , "_" ) ,
251
- final_name. to_lowercase( ) . replace( ' ' , "_" )
250
+ final_developer. to_lowercase( ) . replace( ' ' , "_" ) . replace ( " \" " , "" ) ,
251
+ final_name. to_lowercase( ) . replace( ' ' , "_" ) . replace ( " \" " , "" )
252
252
) ;
253
253
254
254
let action = ask_confirm ( "Do you want to add the cross-platform Github action?" , true ) ;
@@ -262,11 +262,11 @@ pub fn build_template(location: Option<PathBuf>) {
262
262
create_template ( CreateTemplate {
263
263
template,
264
264
project_location : final_location,
265
- name : final_name,
265
+ name : final_name. replace ( " \" " , " \\ \" " ) ,
266
266
version : final_version,
267
267
id : mod_id,
268
- developer : final_developer,
269
- description : final_description,
268
+ developer : final_developer. replace ( " \" " , " \\ \" " ) ,
269
+ description : final_description. replace ( " \" " , " \\ \" " ) ,
270
270
strip,
271
271
action,
272
272
} ) ;
You can’t perform that action at this time.
0 commit comments