fix: actions.git_checkout_current_buffer calling deprecated method (#1439)

This commit is contained in:
hungpt2702
2021-11-10 20:18:02 +07:00
committed by GitHub
parent e4ab6d2844
commit f3ef592072

View File

@@ -590,7 +590,7 @@ end
actions.git_checkout_current_buffer = function(prompt_bufnr)
local cwd = action_state.get_current_picker(prompt_bufnr).cwd
local selection = actions.get_selected_entry()
local selection = action_state.get_selected_entry()
if selection == nil then
print "[telescope] Nothing currently selected"
return