Closed sudo-suhas closed 6 years ago
While fs#exists is deprecated, fs#existsSync is not. This uses existsSync instead of readFileSync with try-catch to determine which lock files exist.
fs#exists
fs#existsSync
existsSync
readFileSync
ping @boennemann @christophwitzko
Thank you for your contribution! 👍
While
fs#exists
is deprecated,fs#existsSync
is not. This usesexistsSync
instead ofreadFileSync
with try-catch to determine which lock files exist.