Closed u01jmg3 closed 9 months ago
It looks like somehow 0
might be being passed as an opts
parameter, which is an invalid value. Previous releases ignored falsey values due to this line: https://github.com/jprichardson/node-fs-extra/blob/6f2b2bc9958954f127e9974b7f2d31ba09e703b2/lib/copy/copy.js#L19
However, the latest release now uses default parameters, which only check for undefined
: https://github.com/jprichardson/node-fs-extra/blob/5d4bf0b1b9886a2842949aded25c8a16b5d39452/lib/copy/copy.js#L10
So it looks like this change is highlighting a long-standing bug in your code.
Thanks for pointing me in the right direction. Found the culprit. Appreciate your time.
Ubuntu 22.04
20.5.1
fs-extra
version:11.2.0