luvit/luvit

doc: fs.exists callback is not as documented

sveyret opened this issue · 0 comments

In the documentation, it is written that the callback for fs.exists() “is called with true or false and an error or nil in the first and second args respectively. ” Actually, it is the contrary: the callback is called with error or nil as first argument, and true or false as second one.