aboutsummaryrefslogtreecommitdiff
path: root/files.lua
diff options
context:
space:
mode:
Diffstat (limited to 'files.lua')
-rw-r--r--files.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/files.lua b/files.lua
index 65a8e1b..ef5c8c1 100644
--- a/files.lua
+++ b/files.lua
@@ -160,6 +160,9 @@ files.walk = function(path, flush_cache)
end
local iter
iter = function(_files, i)
+ if not (_files) then
+ return
+ end
i = i + 1
do
local f = _files[i]