Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Nov 25, 2024
1 parent b496c32 commit 9dfd727
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ impl SchedulerGithubGitlabJob {
num_updated += 1
}
if state.should_clean {
index.delete(&id).await;
index.delete(id).await;
num_deleted += 1;
}

Check warning on line 152 in ee/tabby-webserver/src/service/background_job/third_party_integration.rs

View check run for this annotation

Codecov / codecov/patch

ee/tabby-webserver/src/service/background_job/third_party_integration.rs#L149-L152

Added lines #L149 - L152 were not covered by tests

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use super::FetchState;

use anyhow::{anyhow, Result};
use async_stream::stream;
use chrono::{DateTime, Utc};
Expand All @@ -9,6 +7,7 @@ use octocrab::Octocrab;
use serde::Deserialize;
use tabby_index::public::{StructuredDoc, StructuredDocFields, StructuredDocIssueFields};

use super::FetchState;
use crate::service::create_gitlab_client;

pub async fn list_github_issues(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
use super::FetchState;

use anyhow::{anyhow, Result};
use async_stream::stream;
use futures::Stream;
use octocrab::{models::IssueState, Octocrab};
use tabby_index::public::{StructuredDoc, StructuredDocFields, StructuredDocPullDocumentFields};

use super::FetchState;

pub async fn list_github_pulls(
source_id: &str,
api_base: &str,
Expand Down

0 comments on commit 9dfd727

Please sign in to comment.