You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fs.exists() was deprecated because its bevahior differed from that of other async Node.js functions. This feature would re-implement fs.exists() by only using the recommended fs.access() and returning the same value as fs.exists() did, a boolean. Additionally, this function uses path.resolve() as an additional measure.
The text was updated successfully, but these errors were encountered:
Basically this: https://github.com/Sv443/JokeAPI/blob/version/2.4.0/src/exists.js
fs.exists()
was deprecated because its bevahior differed from that of other async Node.js functions. This feature would re-implementfs.exists()
by only using the recommendedfs.access()
and returning the same value asfs.exists()
did, a boolean. Additionally, this function usespath.resolve()
as an additional measure.The text was updated successfully, but these errors were encountered: