Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

fix: satisfy biome formatting in video exporter

linyq459b71f7923b
diff --git a/src/lib/exporter/videoExporter.ts b/src/lib/exporter/videoExporter.ts
index 5be37760a..570bd6912 100644
--- a/src/lib/exporter/videoExporter.ts
+++ b/src/lib/exporter/videoExporter.ts
@@ -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();
},