Skip to content

Commit

Permalink
more debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharsadhwani committed Jun 26, 2024
1 parent 5c5f6f5 commit 9393e36
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions yen-rs/src/commands/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ pub async fn install_package(

let venv_name = format!("venv_{package_name}");
let venv_path = PACKAGE_INSTALLS_PATH.join(venv_name);
println!(
"{shim_path:?} {} {venv_path:?} {}",
shim_path.exists(),
venv_path.exists()
);
if shim_path.exists() {
if !force_reinstall {
return Ok((shim_path, true)); // true as in package already exists
Expand Down

0 comments on commit 9393e36

Please sign in to comment.