Skip to content
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

Suppress NodeJS's 7.2.1 DeprecationWarning #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Suppress NodeJS's 7.2.1 DeprecationWarning #16

wants to merge 1 commit into from

Conversation

assafmo
Copy link

@assafmo assafmo commented Feb 8, 2018

Suppress DeprecationWarning: Calling an asynchronous function without callback is deprecated. when calling fs.close without a callback.

I just added a nop function.

Suppress `DeprecationWarning: Calling an asynchronous function without callback is deprecated.` when calling `fs.close` without a callback.

I just added a nop function.
@assafmo
Copy link
Author

assafmo commented Jun 6, 2018

@jandre?

@kevincobain2000
Copy link

Any update on the above?

@assafmo
Copy link
Author

assafmo commented Mar 22, 2020

The project seems unmaintained

@kevincobain2000
Copy link

kevincobain2000 commented Mar 22, 2020

yes, it seems so. As the DeprecationWarning throws TypeError on node 10.16.8 so for now I have added the following to catch and prevent app from crashing.

process.on('uncaughtException', function (error) {
   console.log(error.stack);
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants