File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
crates/pet-python-utils/src Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -78,11 +78,10 @@ fn get_python_exe_used_to_create_venv<T: AsRef<Path>>(executable: T) -> Option<P
7878 warn ! ( "Attempted to determine creator of virtual environment, but the env executable ({:?}) is not in the expected location." , executable. as_ref( ) ) ;
7979 return None ;
8080 }
81- } else {
82- if parent_dir. file_name ( ) . unwrap_or_default ( ) != "bin" {
83- warn ! ( "Attempted to determine creator of virtual environment, but the env executable ({:?}) is not in the expected location." , executable. as_ref( ) ) ;
84- return None ;
85- }
81+ }
82+ if parent_dir. file_name ( ) . unwrap_or_default ( ) != "bin" {
83+ warn ! ( "Attempted to determine creator of virtual environment, but the env executable ({:?}) is not in the expected location." , executable. as_ref( ) ) ;
84+ return None ;
8685 }
8786
8887 let symlink = resolve_symlink ( & executable) ?;
You can’t perform that action at this time.
0 commit comments