Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 4dea0a5

Browse files
Pahasaramgumz
authored andcommitted
refactor: deprecate the Command:args()
sxyazi/yazi#2752
1 parent 190b898 commit 4dea0a5

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
@@ -9,7 +9,7 @@ function M:peek(job)
99
end
1010

1111
local child = Command("bat")
12-
:args({
12+
:arg({
1313
"--style",
1414
"plain",
1515
"--color",
@@ -70,4 +70,4 @@ function M:seek(job)
7070
end
7171
end
7272

73-
return M
73+
return M

0 commit comments

Comments
 (0)