Skip to content

Commit 097c583

Browse files
Fix for last commit
1 parent 8c08920 commit 097c583

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/add/github.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ async fn is_project_compatible(
4141
pub async fn github(
4242
repo_handler: &octocrab::repos::RepoHandler<'_>,
4343
profile: &mut Profile,
44-
perform_checks: bool,
4544
checks: &Checks,
4645
) -> super::Result<String> {
4746
let repo = repo_handler.get().await?;
@@ -58,7 +57,7 @@ pub async fn github(
5857
return Err(super::Error::AlreadyAdded);
5958
}
6059

61-
if perform_checks {
60+
if checks.perform_checks() {
6261
let releases = repo_handler.releases().list().send().await?.items;
6362

6463
// Check if jar files are released

0 commit comments

Comments
 (0)