We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16e061f commit d7f2cd8Copy full SHA for d7f2cd8
crates/pet/src/locators.rs
@@ -171,11 +171,7 @@ fn create_unknown_env(
171
// that redirect to the real Python installation.
172
let mut symlinks = resolved_env.symlinks.clone().unwrap_or_default();
173
if let Some(additional_symlinks) = find_symlinks(&resolved_env.executable) {
174
- for symlink in additional_symlinks {
175
- if !symlinks.contains(&symlink) {
176
- symlinks.push(symlink);
177
- }
178
+ symlinks.extend(additional_symlinks);
179
}
180
symlinks.sort();
181
symlinks.dedup();
0 commit comments