always-tail
always-tail copied to clipboard
Suppress NodeJS's 7.2.1 DeprecationWarning
Suppress DeprecationWarning: Calling an asynchronous function without callback is deprecated. when calling fs.close without a callback.
I just added a nop function.
@jandre?
Any update on the above?
The project seems unmaintained
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);
});