Closed tmjoen closed 5 years ago
fs.unlink fails without the callback param in node 10 it seems. Switching to fs.unlinkSync fixes the problem for me.
callback
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function at makeCallback (fs.js:135:11) at Object.unlink (fs.js:903:14)
Good catch! I'll review. Thanks
Hi, do you have an ETA on this fix being released?
Thanks @tmjoen for the fix. @SeanoNET you should be good to go
fs.unlink fails without the
callback
param in node 10 it seems. Switching to fs.unlinkSync fixes the problem for me.