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 = "github";
const ACCEPT_HEADER_JSON: &str = "application/vnd.github.v3+json";
const GITHUB_API_BASEURL: &str =
option_env!("GITHUB_API_BASEURL").unwrap_or("https://api.github.com");
@@ -88,10 +87,6 @@ impl Provider for Github {
})
}
fn name(&self) -> &str {
PROVIDER_NAME
}
fn filter(&self) -> &Filter {
&self.filter
}