validate unique arguments count

This commit is contained in:
yggverse 2025-06-25 12:46:53 +03:00
parent 917b1007ad
commit 9b8485c494
2 changed files with 30 additions and 4 deletions

View file

@ -31,7 +31,7 @@ impl Storage {
bail!("Symlinks yet not supported!");
}
Ok(Self {
list_config: ListConfig::init(config),
list_config: ListConfig::init(config)?,
public_dir,
read_chunk: config.read_chunk,
})