From 4440cc2227894c2ae9b0673a30e6cc6f1836e8c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3n=C3=A1n=20Carrigan?= Date: Tue, 27 Feb 2024 15:46:59 +0000 Subject: [PATCH] chore: styling --- lua/neotest/lib/file/find.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/neotest/lib/file/find.lua b/lua/neotest/lib/file/find.lua index 2646db3..09c32c1 100644 --- a/lua/neotest/lib/file/find.lua +++ b/lua/neotest/lib/file/find.lua @@ -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