refactor: migrate to yazi v0.4

This commit is contained in:
MasouShizuka
2024-12-09 10:51:24 +08:00
parent c1f9d1c944
commit ba8d00b220

View File

@@ -821,8 +821,8 @@ local _merge_event = ya.sync(function(state)
end) end)
return { return {
entry = function(_, args) entry = function(_, job)
local action = args[1] local action = job.args[1]
if not action then if not action then
return return
end end
@@ -838,7 +838,7 @@ return {
end end
if action == "merge" then if action == "merge" then
local opt = args[2] local opt = job.args[2]
merge_project(opt) merge_project(opt)
return return
end end