mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
Update yazi-cli/src/package/parser.rs
Co-authored-by: 三咲雅 · Misaki Masa <sxyazi@gmail.com>
This commit is contained in:
parent
21231c749b
commit
b4e8468195
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ impl Package {
|
|||
|
||||
let deps = deps.as_array().context("`deps` must be an array")?;
|
||||
|
||||
println!("{section}:");
|
||||
println!("{section}s:");
|
||||
for v in deps {
|
||||
if let Some(dep_name) =
|
||||
v.as_inline_table().and_then(|t| t.get("use")).and_then(|v| v.as_str())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue