Skip to content

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

Open
MasMedIm wants to merge 1 commit intothnew:masterfrom
MasMedIm:fix-TypeError
Open

Bug fixing TypeError [ERR_INVALID_CALLBACK]: Callback must be a funct…#13
MasMedIm wants to merge 1 commit intothnew:masterfrom
MasMedIm:fix-TypeError

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