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 Aug 22, 2024
1 parent 14235a6 commit 8dcdb3d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ impl IndexGarbageCollection {
web_crawler: Arc<dyn WebCrawlerService>,
) -> tabby_schema::Result<()> {
let repositories = repository.list_all_code_repository().await?;
let mut sources: Vec<_> = repositories.iter().map(|repo| repo.source_id.clone()).collect();
let mut sources: Vec<_> = repositories
.iter()
.map(|repo| repo.source_id.clone())

Check warning on line 23 in ee/tabby-webserver/src/service/background_job/index_garbage_collection.rs

View check run for this annotation

Codecov / codecov/patch

ee/tabby-webserver/src/service/background_job/index_garbage_collection.rs#L20-L23

Added lines #L20 - L23 were not covered by tests
.collect();

sources.extend(
web_crawler
Expand Down

0 comments on commit 8dcdb3d

Please sign in to comment.