rubenv / grunt-git

Git commands for grunt.
MIT License
227 stars 83 forks source link

Fix issue when trying to use a cwd folder outside current cwd #84

Closed SomaticIT closed 5 years ago

SomaticIT commented 10 years ago

This pull request fix an issue when trying to use a cwd folder outside grunt directory (eg: ../other/repo).

Files are not found in other repo because they are not relative to the new cwd. This patch use the path.relative method of node to correct paths.