Skip to content

Commit af1821c

Browse files
fix cloning of default templates through the "git repository" template (#121)
Co-authored-by: matcool <[email protected]>
1 parent 608710a commit af1821c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/template.rs

+5-4
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,14 @@ fn create_template(template: CreateTemplate) {
4040
} else if template.template.contains('/') {
4141
(template.template.as_str(), "main")
4242
} else if template.template.is_empty() {
43-
("geode-sdk/example-mod", "main")
43+
("https://github.com/geode-sdk/example-mod", "main")
4444
} else {
4545
(template.template.as_str(), "main")
4646
};
47-
48-
info!("Cloning {}", used_template);
49-
47+
48+
// Remove this if you dont think its needed
49+
info!("Cloning branch {} of repository {}", branch, used_template);
50+
5051
// Clone repository
5152
RepoBuilder::new()
5253
.branch(branch)

0 commit comments

Comments
 (0)