Skip to content

Commit 2b35f22

Browse files
xfzvllanosrocas
authored andcommitted
refactor: args -> arg
ref: sxyazi/yazi#2752
1 parent 7104df2 commit 2b35f22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ return {
251251
entry = function(_, job)
252252
local args = job.args or job
253253
local command = Command("git")
254-
:args({ "status", "--ignore-submodules=dirty", "--branch", "--show-stash", "--ahead-behind" })
254+
:arg({ "status", "--ignore-submodules=dirty", "--branch", "--show-stash", "--ahead-behind" })
255255
:cwd(args[1])
256256
:env("LANGUAGE", "en_US.UTF-8")
257257
:stdout(Command.PIPED)
@@ -261,4 +261,4 @@ return {
261261
save(args[1], output.stdout)
262262
end
263263
end,
264-
}
264+
}

0 commit comments

Comments
 (0)