Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes (attempt 2/3)
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored and wsxiaoys committed Jul 23, 2024
1 parent 2c057c9 commit 2de54e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ee/tabby-webserver/src/service/repository/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ impl RepositoryService for RepositoryServiceImpl {
.list_repositories_with_filter(None, None, Some(true), None, None, None, None)
.await?;
repos
.iter().find(|r| RepositoryConfig::canonicalize_url(&r.git_url) == git_url)
.iter()
.find(|r| RepositoryConfig::canonicalize_url(&r.git_url) == git_url)
.map(|r| r.source_id())
.ok_or_else(|| anyhow::anyhow!("No web source found for git_url: {}", git_url).into())
}
Expand Down

0 comments on commit 2de54e8

Please sign in to comment.