feat: udpate code
This commit is contained in:
@@ -137,9 +137,7 @@ impl TinyEncryptConfig {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut envelops: Vec<_> = matched_envelops_map.values()
|
let mut envelops: Vec<_> = matched_envelops_map.values().copied().collect();
|
||||||
.copied()
|
|
||||||
.collect();
|
|
||||||
if envelops.is_empty() {
|
if envelops.is_empty() {
|
||||||
return simple_error!("Profile or key filter cannot find valid envelopes");
|
return simple_error!("Profile or key filter cannot find valid envelopes");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user