We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c08920 commit 097c583Copy full SHA for 097c583
src/add/github.rs
@@ -41,7 +41,6 @@ async fn is_project_compatible(
41
pub async fn github(
42
repo_handler: &octocrab::repos::RepoHandler<'_>,
43
profile: &mut Profile,
44
- perform_checks: bool,
45
checks: &Checks,
46
) -> super::Result<String> {
47
let repo = repo_handler.get().await?;
@@ -58,7 +57,7 @@ pub async fn github(
58
57
return Err(super::Error::AlreadyAdded);
59
}
60
61
- if perform_checks {
+ if checks.perform_checks() {
62
let releases = repo_handler.releases().list().send().await?.items;
63
64
// Check if jar files are released
0 commit comments