Skip to content

Commit 98d1437

Browse files
committed
fix: address Poetry cache review feedback (PR #417)
1 parent 3f98bfc commit 98d1437

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/pet-poetry/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ fn is_poetry_cache_environment(path: &Path) -> bool {
4747
// - Windows: %LOCALAPPDATA%\pypoetry\Cache\virtualenvs\
4848
if has_poetry_cache_components(path) {
4949
// Further validate by checking if the directory name matches Poetry's naming pattern
50-
// Pattern: {name}-{8-char-hash}-py or just .venv
50+
// Pattern: {name}-{8-char-hash}-py{version}
5151
if let Some(dir_name) = path.file_name().and_then(|n| n.to_str()) {
5252
// Check for Poetry's hash-based naming: name-XXXXXXXX-py
5353
// The hash is 8 characters of base64url encoding

0 commit comments

Comments
 (0)