Skip to content

Commit

Permalink
Remove debug println from ops::find_git_db_repo()
Browse files Browse the repository at this point in the history
  • Loading branch information
nabijaczleweli committed Jul 14, 2020
1 parent 73845c4 commit e2a41b8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ops/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,6 @@ pub fn find_proxy(crates_file: &Path) -> Option<String> {
pub fn find_git_db_repo(git_db_dir: &Path, url: &str) -> Option<PathBuf> {
let path = git_db_dir.join(format!("{}-{}",
match Url::parse(url)
.map_err(|e| println!("Url::parse({}) => {}", url, e))
.ok()?
.path_segments()
.and_then(|segs| segs.rev().next())
Expand Down

0 comments on commit e2a41b8

Please sign in to comment.