refactor: remove unused stderr variable from ffprobe output capture
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ function analyzeVideo(videoFile: string): VideoInfo {
|
||||
videoFile,
|
||||
];
|
||||
const process = new Deno.Command(cmd, { args });
|
||||
const { stdout, stderr } = process.outputSync();
|
||||
const { stdout } = process.outputSync();
|
||||
const videoInfo = JSON.parse(new TextDecoder().decode(stdout));
|
||||
return videoInfo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user