forge: Use "origin" as the default remote name

Close #33
This commit is contained in:
2022-06-15 20:49:13 +02:00
parent 9fc34e6989
commit 27ef86c1b4
4 changed files with 14 additions and 23 deletions

View File

@@ -8,7 +8,6 @@ use super::JsonError;
use super::Project;
use super::Provider;
const PROVIDER_NAME: &str = "gitlab";
const ACCEPT_HEADER_JSON: &str = "application/json";
const GITLAB_API_BASEURL: &str = option_env!("GITLAB_API_BASEURL").unwrap_or("https://gitlab.com");
@@ -105,10 +104,6 @@ impl Provider for Gitlab {
})
}
fn name(&self) -> &str {
PROVIDER_NAME
}
fn filter(&self) -> &Filter {
&self.filter
}