Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
milogert committed Jan 4, 2024
1 parent 47d33ba commit 82aef10
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lua/octo/pickers/fzf-lua/pickers/project_cards_v2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ return function(callback)
local status = nil

for _, node in ipairs(card.fieldValues.nodes) do
if node.field ~= nil and node.field.name == 'Status' then
if node.field ~= nil and node.field.name == "Status" then
status = node.field.name
break
end
Expand All @@ -30,10 +30,7 @@ return function(callback)
status = "<No status>"
end

table.insert(
titles,
string.format("%s %s %s (%s)", card.project.id, card.id, status, card.project.title)
)
table.insert(titles, string.format("%s %s %s (%s)", card.project.id, card.id, status, card.project.title))
end

fzf.fzf_exec(
Expand Down

0 comments on commit 82aef10

Please sign in to comment.