This commit is contained in:
lyswhut
2022-11-05 09:45:28 +08:00
parent 8d87990793
commit c9d8bbe874
2 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ export const saveLrc = async(filePath: string, lrc: string, format: LX.LyricForm
break
case 'utf8':
default:
fs.writeFile(filePath, iconv.encode(lrc, 'utf8', { addBOM: true }), 'utf8', err => {
fs.writeFile(filePath, iconv.encode(lrc, 'utf8', { addBOM: true }), err => {
if (err) console.log(err)
})
break