Answers for "tesseract Calling an asynchronous function without callback is deprecated."

1

tesseract Calling an asynchronous function without callback is deprecated.

In node-tesseract's folder modify tesseract.js:

Before:
fs.unlink(files[0]);
Now:
fs.unlink(files[0], err => { if (err) console.log(err) });
Posted by: Guest on October-25-2020

Code answers related to "tesseract Calling an asynchronous function without callback is deprecated."

Browse Popular Code Answers by Language