diff --git a/lua/octo/pickers/telescope/provider.lua b/lua/octo/pickers/telescope/provider.lua index 5385c4d8..f8699ec2 100644 --- a/lua/octo/pickers/telescope/provider.lua +++ b/lua/octo/pickers/telescope/provider.lua @@ -76,7 +76,9 @@ local function open(command) elseif command == "tab" then vim.cmd [[:tab sb %]] end - utils.get(selection.kind, selection.repo, selection.value) + if selection then + utils.get(selection.kind, selection.repo, selection.value) + end end end