Closed yaustar closed 3 years ago
Until later versions where it expects an integer: https://nodejs.org/api/fs.html#fs_fs_copyfilesync_src_dest_mode
Node 12 worked fine with the previous code but that was by luck as it didn't use a 3rd param. With Node 14+, it's used for a flag.
Thanks Martin!
Until later versions where it expects an integer: https://nodejs.org/api/fs.html#fs_fs_copyfilesync_src_dest_mode
Node 12 worked fine with the previous code but that was by luck as it didn't use a 3rd param. With Node 14+, it's used for a flag.