Skip to content

Instantly share code, notes, and snippets.

@creationix
Created February 6, 2016 05:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save creationix/eb72f7d634d274145aa4 to your computer and use it in GitHub Desktop.
Save creationix/eb72f7d634d274145aa4 to your computer and use it in GitHub Desktop.
--- a/src/lua/luvibundle.lua
+++ b/src/lua/luvibundle.lua
@@ -34,7 +34,7 @@ local function folderBundle(base)
repeat
local ent = uv.fs_scandir_next(req)
if ent then
- files[#files + 1] = ent.name
+ files[#files + 1] = ent
end
until not ent
return files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment