Skip to content

Commit

Permalink
chore: styling
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarriga committed Jul 31, 2022
1 parent 4fdce02 commit 64120cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neotest/lib/file/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ function M.match_root_pattern(...)
return function(start_path)
local start_parents = Path:new(start_path):parents()
local potential_roots = M.is_dir(start_path) and vim.list_extend({ start_path }, start_parents)
or start_parents
or start_parents
for _, path in ipairs(potential_roots) do
for _, pattern in ipairs(patterns) do
for _, p in ipairs(async.fn.glob(Path:new(path, pattern).filename, true, true)) do
Expand Down

0 comments on commit 64120cb

Please sign in to comment.