Skip to content

Commit

Permalink
misc: remove dbg
Browse files Browse the repository at this point in the history
  • Loading branch information
nichmor committed Dec 18, 2024
1 parent 1205539 commit 01332e6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions crates/pixi_record/src/pinned_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@ impl PinnedGitSpec {
.append_pair("subdirectory", subdirectory);
}

dbg!("piined git spec reference {:?}", &self.source.reference);
// Put the requested reference in the query.
match &self.source.reference {
Reference::Branch(branch) => {
Expand All @@ -273,16 +272,12 @@ impl PinnedGitSpec {
// prepend git+ to the scheme
// by transforming it into the string
// as url does not allow to change from https to git+https.

let url_str = url.to_string();

dbg!("url str {:?}", &url_str);
let git_prefix = format!("git+{}", url_str);

let url = Url::parse(&git_prefix).unwrap();

dbg!("url parsed is {:?}", &url);

LockedGitUrl(url)
}
}
Expand Down

0 comments on commit 01332e6

Please sign in to comment.