Skip to content

Commit

Permalink
chore: styling
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarriga committed Feb 27, 2024
1 parent f6048f3 commit 4440cc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/neotest/lib/file/find.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ function M.find(root, opts)
local name, path_type = entry.name, entry.type
local rel_path = name and (dir == "" and name or (dir .. sep .. name))
if
path_type == "directory"
and name:sub(1, 1) ~= "."
and (not filter_dir or filter_dir(name, rel_path, root))
path_type == "directory"
and name:sub(1, 1) ~= "."
and (not filter_dir or filter_dir(name, rel_path, root))
then
dirs_to_scan[#dirs_to_scan + 1] = rel_path
elseif path_type == "file" then
Expand Down

0 comments on commit 4440cc2

Please sign in to comment.