Upgrade of rimraf causes issue (original) (raw)

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.