summaryrefslogtreecommitdiff
path: root/script/glob/gitignore.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/glob/gitignore.lua')
-rw-r--r--script/glob/gitignore.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/script/glob/gitignore.lua b/script/glob/gitignore.lua
index a6a3df3e..de8fd005 100644
--- a/script/glob/gitignore.lua
+++ b/script/glob/gitignore.lua
@@ -168,9 +168,6 @@ end
---@async
function mt:scan(path, callback, hook)
local files = {}
- if type(callback) ~= 'function' then
- callback = nil
- end
local list = {}
---@async