raszi / node-tmp

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

ReferenceError: c is not defined #102

Closed sam-simpleclick closed 7 years ago

sam-simpleclick commented 7 years ago

Error ocours on windows, the below stacktrace is produced.

ReferenceError: c is not defined at _removeCallback (E:\Git\xx\Root\node_modules\tmp\lib\tmp.js:355:47) at Object._cleanupCallback [as cleanup] (E:\Git\xx\Root\node_modules\tmp\lib\tmp.js:409:5) ..snip..

Looks like a typo where the second reference to _c is c instead.

sam-simpleclick commented 7 years ago

Version: tmp@0.0.28

Will check newer version

sam-simpleclick commented 7 years ago

Fixed in 0.0.30. Should of checked first, but might help someone else with the same issue.

raszi commented 7 years ago

Thank you @sam-simpleclick for the verification!