Skip to content

Commit

Permalink
revert lint changes
Browse files Browse the repository at this point in the history
  • Loading branch information
GustavEikaas committed Oct 15, 2024
1 parent c45df2d commit a7585c3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
28 changes: 14 additions & 14 deletions lua/octo/commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -463,14 +463,14 @@ function M.add_comment()
viewerCanDelete = true,
viewerDidAuthor = true,
reactionGroups = {
{ content = "THUMBS_UP", users = { totalCount = 0 } },
{ content = "THUMBS_UP", users = { totalCount = 0 } },
{ content = "THUMBS_DOWN", users = { totalCount = 0 } },
{ content = "LAUGH", users = { totalCount = 0 } },
{ content = "HOORAY", users = { totalCount = 0 } },
{ content = "CONFUSED", users = { totalCount = 0 } },
{ content = "HEART", users = { totalCount = 0 } },
{ content = "ROCKET", users = { totalCount = 0 } },
{ content = "EYES", users = { totalCount = 0 } },
{ content = "LAUGH", users = { totalCount = 0 } },
{ content = "HOORAY", users = { totalCount = 0 } },
{ content = "CONFUSED", users = { totalCount = 0 } },
{ content = "HEART", users = { totalCount = 0 } },
{ content = "ROCKET", users = { totalCount = 0 } },
{ content = "EYES", users = { totalCount = 0 } },
},
}

Expand Down Expand Up @@ -869,12 +869,12 @@ function M.create_pr(is_draft)

-- get remote branches
if
info == nil
or info.refs == nil
or info.refs.nodes == nil
or info == vim.NIL
or info.refs == vim.NIL
or info.refs.nodes == vim.NIL
info == nil
or info.refs == nil
or info.refs.nodes == nil
or info == vim.NIL
or info.refs == vim.NIL
or info.refs.nodes == vim.NIL
then
utils.error "Cannot grab remote branches"
return
Expand All @@ -890,7 +890,7 @@ function M.create_pr(is_draft)
local remote_branch = local_branch
if not remote_branch_exists then
local choice =
vim.fn.confirm("Remote branch '" .. local_branch .. "' does not exist. Push local one?", "&Yes\n&No\n&Cancel", 2)
vim.fn.confirm("Remote branch '" .. local_branch .. "' does not exist. Push local one?", "&Yes\n&No\n&Cancel", 2)
if choice == 1 then
local remote = "origin"
remote_branch = vim.fn.input {
Expand Down
6 changes: 3 additions & 3 deletions lua/octo/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ function M.get_default_values()
in_progress = "🔄",
failed = "",
succeeded = "",
skipped = ""
}
skipped = "",
},
},
pull_requests = {
order_by = {
Expand Down Expand Up @@ -184,7 +184,7 @@ function M.get_default_values()
mappings = {
runs = {
open = { lhs = "<leader>o", desc = "view workflow run" },
refresh = { lhs = "<leader>r", desc = "refresh workflow runs list" }
refresh = { lhs = "<leader>r", desc = "refresh workflow runs list" },
},
issue = {
close_issue = { lhs = "<leader>ic", desc = "close issue" },
Expand Down

0 comments on commit a7585c3

Please sign in to comment.