Fixes bug

This commit is contained in:
2019-06-26 15:09:08 +02:00
parent 41993b65a9
commit d6bad5f61c
2 changed files with 3 additions and 1 deletions
Generated
+2
View File
@@ -1,3 +1,5 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "beautylog"
version = "0.1.0"
+1 -1
View File
@@ -38,7 +38,7 @@ macro_rules! unwrap {
pub fn parse_url(input: &str) -> Result<(String, String, String)> {
if input.starts_with("http") {
parse_http_url(input)
} else if input.starts_with("ssh") {
} else if input.starts_with("git@") {
parse_ssh_url(input)
} else {
parse_github_url(input)