mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
d439e09c55
commit
5d04c94019
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ impl DeserializeOverHook for Plugin {
|
|||
if fetchers.len() > MAX_FETCHERS as usize {
|
||||
Err(de::Error::custom(format!("Fetchers exceed the limit of {MAX_FETCHERS}")))?;
|
||||
} else if preloaders.len() > MAX_PRELOADERS as usize {
|
||||
Err(de::Error::custom(format!("Preloaders exceed the limit of {MAX_FETCHERS}")))?;
|
||||
Err(de::Error::custom(format!("Preloaders exceed the limit of {MAX_PRELOADERS}")))?;
|
||||
}
|
||||
|
||||
for (i, p) in fetchers.iter_mut().enumerate() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue