fs.exists is slated to be removed
Closed this issue · 2 comments
nubs commented
fs.exists is considered an antipattern and is documented as a potential deprecation in the documentation. It seems like it should be possible to just do the read and handle the error appropriately.
I personally find that a bit funky although it likely makes sense in this particular use case.
nubs commented
Thanks Buster :)