raszi / node-tmp

Temporary file and directory creator for node.js
MIT License
735 stars 92 forks source link

Upgrade of rimraf causes issue #295

Closed MGschwindtFW closed 7 months ago

MGschwindtFW commented 7 months ago

Operating System

NodeJS Version

Tmp Version

0.2.2

Expected Behavior

No behavior changes to previous version

Experienced Behavior

When calling node-tmp/lib/tmp/prepareRemoveCallback I get the error: TypeError: removeFunction is not a function The function is called by the tmp-promise library.

This problem disappears by re-setting the version of rimraf to 3.