Skip to content

Commit 2c401c4

Browse files
committed
wip
1 parent 83f1e37 commit 2c401c4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

crates/pet-poetry/src/environment_locations.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ pub fn list_environments(
4242
})
4343
.map(|workspace_dir| (workspace_dir, PyProjectToml::find(workspace_dir)))
4444
.filter_map(|(workspace_dir, pyproject_toml)| {
45+
trace!(
46+
"Found pyproject.toml in workspace directory: {:?} and pyproject.toml: {:?}",
47+
workspace_dir,
48+
pyproject_toml
49+
);
4550
pyproject_toml.map(|pyproject_toml| (workspace_dir, pyproject_toml))
4651
})
4752
.collect::<Vec<_>>();

crates/pet-poetry/src/pyproject_toml.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ use std::{
88

99
use log::{error, trace};
1010

11+
#[derive(Debug)]
1112
pub struct PyProjectToml {
1213
pub name: String,
1314
}

0 commit comments

Comments
 (0)