We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ac953a commit 14bebd1Copy full SHA for 14bebd1
1 file changed
cmd/soroban-cli/src/commands/plugin/default.rs
@@ -1,3 +1,4 @@
1
+use itertools::Itertools;
2
use std::{path::PathBuf, process::Command};
3
use which::which;
4
@@ -56,6 +57,7 @@ pub fn list() -> Result<Vec<String>, Error> {
56
57
})
58
.filter(|s| !(utils::is_hex_string(s) && s.len() > MAX_HEX_LENGTH))
59
.map(|s| s.replace("soroban-", "").replace("stellar-", ""))
60
+ .unique()
61
.collect())
62
}
63
0 commit comments