Previously, git was being called for each path comparison. This PR makes it so that git is only called once. It also removes the async calls in favor of a single lodash each statement.
In our project, with roughly 465 files being processed, we were getting Warning: spawn EMFILE Use --force to continue. errors. This PR is largely a result of fixing that error.
Previously, git was being called for each path comparison. This PR makes it so that git is only called once. It also removes the async calls in favor of a single lodash each statement.