Skip to content

Commit

Permalink
Polish.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Dec 7, 2024
1 parent 1ca1254 commit d246bdf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#### 🐞 Fixes

- Fixed `moon ci` showing incorrect job related logs.
- Fixed some issues with the Python toolchain:
- pip is no longer required to be enabled to activate a virtual environment.
- The venv root is now the location of a located `requirements.txt`, otherwise the package root,
Expand Down
4 changes: 2 additions & 2 deletions legacy/python/platform/src/actions/install_deps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ pub async fn install_deps(
}

// Add requirements.txt path, if found
if let Some(req) = &requirements_path {
args.extend(["-r", req.to_str().unwrap_or_default()]);
if let Some(reqs_path) = requirements_path.as_ref().and_then(|req| req.to_str()) {
args.extend(["-r", reqs_path]);
}

if !args.is_empty() {
Expand Down

0 comments on commit d246bdf

Please sign in to comment.