We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c232b9d commit 198f281Copy full SHA for 198f281
crates/forge/src/cmd/init.rs
@@ -59,6 +59,8 @@ impl InitArgs {
59
if let Some(template) = template {
60
let template = if template.contains("://") {
61
template
62
+ } else if template.starts_with("github.com/") {
63
+ "https://".to_string() + &template
64
} else {
65
"https://github.com/".to_string() + &template
66
};
0 commit comments