fix: satisfy biome formatting in video exporter

This commit is contained in:
linyq
2026-03-20 10:19:49 +08:00
parent 2a2d7e7aba
commit 459b71f792
+1 -3
View File
@@ -410,9 +410,7 @@ export class VideoExporter {
error: (error) => {
console.error("[VideoExporter] Encoder error:", error);
this.fatalEncoderError =
error instanceof Error
? error
: new Error(`Video encoder error: ${String(error)}`);
error instanceof Error ? error : new Error(`Video encoder error: ${String(error)}`);
this.streamingDecoder?.cancel();
this.webcamDecoder?.cancel();
},