Skip to content

Suppress NodeJS's 7.2.1 DeprecationWarning#16

Open
assafmo wants to merge 1 commit into
jandre:masterfrom
assafmo:patch-1
Open

Suppress NodeJS's 7.2.1 DeprecationWarning#16
assafmo wants to merge 1 commit into
jandre:masterfrom
assafmo:patch-1

Conversation

@assafmo

@assafmo assafmo commented Feb 8, 2018

Copy link
Copy Markdown

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

assafmo commented Jun 6, 2018

Copy link
Copy Markdown
Author

@jandre?

@kevincobain2000

Copy link
Copy Markdown

Any update on the above?

@assafmo

assafmo commented Mar 22, 2020

Copy link
Copy Markdown
Author

The project seems unmaintained

@kevincobain2000

kevincobain2000 commented Mar 22, 2020

Copy link
Copy Markdown

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