Skip to content

Commit 5b42b2a

Browse files
committed
Only activate.* should be counted as an activation script
1 parent 3708544 commit 5b42b2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/pet-virtualenv/src

crates/pet-virtualenv/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pub fn is_virtualenv_dir(path: &Path) -> bool {
6262
.unwrap_or_default()
6363
.to_str()
6464
.unwrap_or_default()
65-
.starts_with("activate")
65+
.starts_with("activate.")
6666
{
6767
return true;
6868
}

0 commit comments

Comments
 (0)