Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix common base path calculation (#35)
A RegExp is being used to subtract out the base path common to "dirname" and "from", but the "from" path was not being properly escaped for use in a RegExp. See: https://developer.mozilla.org/en/docs/Web/JavaScript/Guide/Regular_Expressions This commit stops npm test from throwing an uncaught exception of type "RangeError: Maximum call stack size exceeded".
- Loading branch information