-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fs.exists is deprecated #60
Comments
@juanpicado I'd like to take a dig at this issue. |
It's booked then :-) |
@juanpicado The
Also, the library itself hasn't been updated in a while, so the chances of an upstream fix seem to be minimal. Do you have a suggestion on what should be done? As mentioned, we could handle error the directly in the try-catch block without checking for the file's existence. Or, If we should be using a different library, |
Here you can find some inspiration verdaccio/local-storage#174 |
@juanpicado Thanks for the pointers. I have a PR up for review :) |
existsSync is not deprecated afaik. |
|
FYI #159 |
My reason:
We use
fs.exists
at least twice in our source code, this has been deprecated, we should upgrade it.https://nodejs.org/api/fs.html#fs_fs_exists_path_callback
The text was updated successfully, but these errors were encountered: