alanshaw / alanshaw/grunt-include-replace

Encoding change

Abierto
#76 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
199
Forks
43
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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'

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.