You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the API documentation it's not clear that hs.fs.dir() will return a nil value for the iterator function if something doesn't work. For example:
Based on the API documentation it's not clear that
hs.fs.dir()
will return anil
value for the iterator function if something doesn't work. For example:This becomes problematic when you're using a
for
loop, for example:Maybe either the documentation or the function itself needs to be re-thought @cmsj or @asmagill ?
The text was updated successfully, but these errors were encountered: