jazz icon indicating copy to clipboard operation
jazz copied to clipboard

fs entries is working randomly

Open Arnaz87 opened this issue 5 years ago • 2 comments

Sometimes it works and some it doesn't, seems to be random at each call of the function.

Apparently the rust internal function is sometimes failing, making it return nil instead of an iterator function, and then lua fails because of it.

Arnaz87 avatar Nov 09 '18 03:11 Arnaz87

It wasn't failing randomly, it was returning nil when the directory didn't exist. Now after https://github.com/foundpatterns/torchbear/commit/5692bdca8b2e459c0f027f8382dcfa82c94acba6 it errors. It obviously cannot iterate entries in a non existing directory.

Arnaz87 avatar Nov 09 '18 04:11 Arnaz87

https://github.com/foundpatterns/torchbear/commit/5692bdca8b2e459c0f027f8382dcfa82c94acba6

naturallymitchell avatar Nov 09 '18 04:11 naturallymitchell