mirror of
https://github.com/nuintun/command-manager.git
synced 2025-10-19 17:17:33 +08:00
update files
This commit is contained in:
@@ -22,7 +22,7 @@ function DecodeGenerator(){
|
||||
var charset;
|
||||
|
||||
return function (data){
|
||||
if (data) {
|
||||
if (Buffer.isBuffer(data)) {
|
||||
if (charset === undefined) {
|
||||
charset = jschardet.detect(data).encoding;
|
||||
}
|
||||
|
Reference in New Issue
Block a user