fix: bump piper and vcs-files to the latest nightly

Adapt to https://github.com/sxyazi/yazi/pull/3170 for the unstable `Cha` API change
This commit is contained in:
sxyazi
2025-09-15 21:42:48 +08:00
parent d7588f6d29
commit 109b13df29
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
--- @since 25.5.31
--- @since 25.9.15
local M = {}
@@ -57,7 +57,7 @@ function M.format(job, lines)
local icon = File({
url = Url(lines[i]),
cha = Cha { kind = lines[i]:sub(-1) == "/" and 1 or 0 },
cha = Cha { mode = tonumber(lines[i]:sub(-1) == "/" and "40700" or "100644", 8) },
}):icon()
if icon then