mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-06-30 10:43:04 -04:00
chore: bump client api 088 (#7004)
* chore: bump client api * chore: bump client api * chore: fix clippy
This commit is contained in:
parent
0689f4e7e1
commit
9d53f758d4
13 changed files with 1016 additions and 270 deletions
|
@ -34,7 +34,10 @@ pub(crate) fn plugin_map_or_crash(plugins: Vec<AFPlugin>) -> AFPluginMap {
|
|||
events.into_iter().for_each(|e| {
|
||||
if plugin_map.contains_key(&e) {
|
||||
let plugin_name = plugin_map.get(&e).map(|p| &p.name);
|
||||
panic!("⚠️⚠️⚠️Error: {:?} is already defined in {:?}", &e, plugin_name,);
|
||||
panic!(
|
||||
"⚠️⚠️⚠️Error: {:?} is already defined in {:?}",
|
||||
&e, plugin_name,
|
||||
);
|
||||
}
|
||||
plugin_map.insert(e, plugins.clone());
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue