Closed kobelb closed 6 years ago
@jbudz brought up a good point, that the usage of cache.clear
expects the cb to be called and a Promise to be returned... this approach needs to be revised.
Deferring to @jbudz PR instead, it's better https://github.com/elastic/libesvm/pull/53
https://github.com/elastic/libesvm/pull/50 introduced a bug where if the cache.json doesn't exist, the unlink call was returning an
ENOENT
error which wasn't being ignored.