Skip to content

Commit c5c939b

Browse files
authored
refactor: args -> arg (#12)
ref: sxyazi/yazi#2752 In anticipation of next `yazi` release.
1 parent f1c6b69 commit c5c939b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ local function get_total_size(items)
4646
return total
4747
else
4848
local arg = ya.target_os() == "macos" and "-scA" or "-scb"
49-
local output, err = Command("du"):arg(arg):args(items):output()
49+
local output, err = Command("du"):arg(arg):arg(items):output()
5050
if not output then
5151
ya.err("Failed to run du: " .. err)
5252
end

0 commit comments

Comments
 (0)