curist / grunt-bower

grunt task to copy bower installed packages to other folder(s)
MIT License
93 stars 27 forks source link

Fix path delimiters bug in windows environment #46

Closed artch closed 9 years ago

artch commented 9 years ago

This will fix an issue with Windows incompatibility. It was because of incorrectly parsed paths in baseDirRegex due to different path delimiters: / instead of \. With this patch now everything works as expected.

Fixes #45 Fixes #44

curist commented 9 years ago

Hey, it's so great that someone actually fix this. I will check this as soon as possible. 2014/12/12 下午6:58 於 "Artem Chivchalov" notifications@github.com 寫道:

This will fix an issue with Windows incompatibility. It was because of incorrectly parsed paths in baseDirRegex due to different path delimiters: / instead of . With this patch now everything works as expected.

Fixes #45 https://github.com/curist/grunt-bower/issues/45

Fixes #44 https://github.com/curist/grunt-bower/issues/44

You can merge this Pull Request by running

git pull https://github.com/artch/grunt-bower windows-paths

Or view, comment on, or merge it at:

https://github.com/curist/grunt-bower/pull/46 Commit Summary

  • Fix path delimiters bug in windows environment

File Changes

Patch Links:

— Reply to this email directly or view it on GitHub https://github.com/curist/grunt-bower/pull/46.