alanshaw / alanshaw/grunt-include-replace
Encoding change
Ouverte
- Langage dominant
- JavaScript
- Étoiles
- 199
- Forks
- 43
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
In code encoding is chagne globally for grunt.file. If other task use different encoding it will be overwritten.
In grunt.file functions as second argument we could set object with option encoding. This is better solution than change it globally. Other way is store in local variable grunt.file.defaultEncoding before change it, and restore defalut value at end.
Task default option encoding should be 'utf8' not 'utf-8'
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.