mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-08 17:22:29 +08:00
chore(server): remove unnecessary log
This commit is contained in:
parent
e74de6105a
commit
c297f88395
@ -353,7 +353,6 @@ export function processStringOrBuffer(data: string | Buffer | null) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const detectedEncoding = chardet.detect(data);
|
const detectedEncoding = chardet.detect(data);
|
||||||
console.log("Detected as ", detectedEncoding);
|
|
||||||
switch (detectedEncoding) {
|
switch (detectedEncoding) {
|
||||||
case "UTF-16LE":
|
case "UTF-16LE":
|
||||||
return stripBom(data.toString("utf-16le"));
|
return stripBom(data.toString("utf-16le"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user