summaryrefslogtreecommitdiff
path: root/script/glob
diff options
context:
space:
mode:
Diffstat (limited to 'script/glob')
-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