This commit is contained in:
Denis Isidoro 2020-03-16 08:02:52 -03:00
parent fcfa7843fc
commit ebcdb8d162
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
pub fn meta(uri: &str) -> (String, String, String) {
let actual_uri = if uri.contains("://") {
uri.to_string()
} else if uri.contains('@') {
} else if uri.contains('@') {
uri.replace("git@", "https://").replace(':', "/")
} else {
format!("https://github.com/{}", uri)

View file

@ -6,11 +6,11 @@ mod cmds;
mod display;
mod filesystem;
mod fzf;
mod git;
mod handler;
mod option;
mod terminal;
mod welcome;
mod git;
use std::error::Error;