Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit13edbc6

Browse files
committed
fix(gh): pass correct context in gh_perform_action.Closes#2442.Closes#2443
1 parentd6137be commit13edbc6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎lua/snacks/gh/actions.lua‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ M.actions.gh_perform_action = {
118118
ifnotitemthen
119119
return
120120
end
121-
item.action.action(item.item,ctx)
121+
-- pass a new context, since we're doing the action on a single item
122+
item.action.action(item.item, {items= {item.item } })
122123
ctx.picker:close()
123124
end,
124125
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp