Closed GreenImp closed 6 years ago
Original comment by Lee Langley (Bitbucket: LeeLangleyRees, GitHub: Unknown):
Just for reference, the forked version is on my Github account: https://github.com/GreenImp/node-merge
Original comment by Lee Langley (Bitbucket: LeeLangleyRees, GitHub: Unknown):
Changes node-merge to forked version
resolves issue #1
Originally reported by: Lee Langley (Bitbucket: LeeLangleyRees, GitHub: Unknown)
If node merge finds a directory inside the one it is copying from, it throws an error:
The issue is caused by it incorrectly trying to recursively call itself, on line 16 of merge.js:
There is no such function as
merge()
. I'm not sure if it's correct, but replacingmerge
withexports.mergeTo
fixes the issue:I'm not wanting to modify the code though, as it's part of a separate node module.
I see three options: