avisi / grunt-webdav-sync

Synchronizes a local folder to a remote webdav folder as part of your Grunt build
https://npmjs.org/package/grunt-webdav-sync
MIT License
3 stars 9 forks source link

Fix issue with binary encoded files (images) #6

Closed wilsonwc closed 10 years ago

wilsonwc commented 10 years ago

grunt.file.read tries to encode binary files to a string, this adds detection for some common binary image formats and skips the encoding for those files

mitchelkuijpers commented 10 years ago

Good catch! is it possible to create a test for this?

mitchelkuijpers commented 10 years ago

I double checked the grunt.file api, and this seems fine. Thank you for your contribution.

mitchelkuijpers commented 10 years ago

Will immediately release a new version, 0.2.6