Skip to content

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