Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixing TypeError [ERR_INVALID_CALLBACK]: Callback must be a funct… #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MasMedIm
Copy link

For Nodejs version 8.1 and above i was unable to use the lib for this type error.
The change was made in fs.unlink(imageFilepath, (err) => { if (err != null) return; });
adding the needed callback.

A little bug fix to pull + some code formatting.

Have a nice day!

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.

1 participant