fix: 修复 lint 校验失败 (#1867)

This commit is contained in:
liuwanwan authored and GitHub committed 2026-05-28 14:14:50 +08:00
1 parent a716a1a185
commit 0af6445d5a
5 files changed
+139 -138

No files matched your search

@@ -138,14 +138,14 @@ export class FFmpegExecAdapter implements IFFmpegAdapter {
/**
* 获取时长
*/
async getDuration(filePath: string): Promise<number> {
async getDuration (filePath: string): Promise<number> {
const { stdout } = await execFileAsync(this.ffprobePath, [
"-v",
"error",
"-show_entries",
"format=duration",
"-of",
"default=noprint_wrappers=1:nokey=1",
'-v',
'error',
'-show_entries',
'format=duration',
'-of',
'default=noprint_wrappers=1:nokey=1',
filePath,
]);