=== > ==
Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
f178bb67bb
commit
31d9cc44b7
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ async function ffprobe(videoFile: string): Promise<Record<string, unknown>> {
|
|||
}
|
||||
// Make the duration actually a number
|
||||
json.duration = Number(json.duration);
|
||||
if (code != 0) {
|
||||
if (code !== 0) {
|
||||
throw new Error();
|
||||
}
|
||||
return json;
|
||||
|
|
Reference in a new issue