Open julien-f opened 3 years ago
It looks good so far however one test is failing, can you check it out?
We are missing tests as well before merging.
@satazor AFAU, the problem comes from the test expecting a specific number of calls to stat
: https://github.com/moxystudio/node-proper-lockfile/blob/9f8c303c91998e8404a911dc11c54029812bca69/test/lock.test.js#L193
But the new algorithm, introduce an extra to get the device.
Yes we need to update existing tests and generate new ones to test the new code (different devices).
See #103
Quick and untested implementation.