Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Mng-dev-ai committed Dec 21, 2024
1 parent 2768f8b commit 798481a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/avante/file_selector.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ function FileSelector:handle_path_selection(selected_path)

local stat = vim.loop.fs_stat(absolute_path)
if stat and stat.type == "directory" then
selected_path = selected_path:gsub("/$", "")
self.process_directory(self, absolute_path, project_root)
else
local uniform_path = Utils.uniform_path(selected_path)
Expand Down

0 comments on commit 798481a

Please sign in to comment.