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