alanshaw / alanshaw/grunt-include-replace

Encoding change

Aberta
#76 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
199
Forks
43
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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'

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.