We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e30a64e commit b6111a4Copy full SHA for b6111a4
1 file changed
src/main.rs
@@ -21,14 +21,9 @@ lazy_static! {
21
};
22
}
23
24
-/// Get the remote url
25
-fn get_remote_url(remote_name: &str) -> String {
26
- git::get_remote_url(remote_name)
27
-}
28
-
29
/// Get the remote for the current project
30
fn get_remote(remote_name: &str, fetch_api_key: bool) -> Result<Box<dyn remotes::Remote>, String> {
31
- let remote_url = get_remote_url(remote_name);
+ let remote_url = git::get_remote_url(remote_name);
32
remotes::get_remote(remote_name, &remote_url, !fetch_api_key)
33
34
0 commit comments