Skip to content

Commit

Permalink
errors table misplaced
Browse files Browse the repository at this point in the history
  • Loading branch information
gsick committed Apr 9, 2014
1 parent 6bfbae7 commit fa76f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/luvit/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ function module.require(filepath, dirname)
if type(loader) == "function" then
return loader()
end
errors[#errors + 1] = loader
end
errors[#errors + 1] = loader
dir = path.dirname(dir)
until dir == "."

Expand Down

0 comments on commit fa76f5b

Please sign in to comment.