Skip to content

Commit

Permalink
deduplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed Jun 5, 2024
1 parent 0ef5268 commit 3f40dd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/pet-conda/src/environment_locations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ pub fn get_known_conda_install_locations(env_vars: &EnvVariables) -> Vec<PathBuf
.join("conda"),
);
}
known_paths.sort();
known_paths.dedup();
known_paths
}

Expand Down

0 comments on commit 3f40dd0

Please sign in to comment.