Skip to content

Commit

Permalink
Pass caught error on in add operation (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnpryer authored Jan 13, 2023
1 parent 6d78fc2 commit d9ebecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/huak/ops/add.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub fn add_project_dependency(
let venv = match Venv::from_path(project.root()) {
Ok(it) => it,
Err(HuakError::VenvNotFound) => Venv::new(project.root().join(".venv")),
Err(_) => return Err(HuakError::VenvNotFound),
Err(e) => return Err(e),
};

let dep = package.string();
Expand Down

0 comments on commit d9ebecb

Please sign in to comment.