From 31d9cc44b792bfe6a79bfcb5f609c6225e6a562e Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Sun, 19 Jun 2022 18:10:36 +0200 Subject: [PATCH] === > == Signed-off-by: Sam Therapy --- generator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator.ts b/generator.ts index 22a461c..a54f975 100644 --- a/generator.ts +++ b/generator.ts @@ -158,7 +158,7 @@ async function ffprobe(videoFile: string): Promise> { } // Make the duration actually a number json.duration = Number(json.duration); - if (code != 0) { + if (code !== 0) { throw new Error(); } return json;