mirror of
https://github.com/denisidoro/navi
synced 2024-11-22 11:33:10 +00:00
linting
This commit is contained in:
parent
fcfa7843fc
commit
ebcdb8d162
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue