Skip to content

Commit f89e460

Browse files
committed
chore(live-proof): restore formatting
1 parent 69adf75 commit f89e460

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

‎src/live-proof/drivers.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,9 +369,7 @@ function waitForRecorder(
369369
if (elapsed >= RECORDER_READY_TIMEOUT_SECONDS) return;
370370
pollSleep(runner);
371371
}
372-
throw new Error(
373-
`raw WebM was not written within ${RECORDER_READY_TIMEOUT_SECONDS} seconds`,
374-
);
372+
throw new Error(`raw WebM was not written within ${RECORDER_READY_TIMEOUT_SECONDS} seconds`);
375373
}
376374

377375
function finalizeRecorder(

‎src/live-proof/execute.ts‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,19 @@ export async function executeLiveProof(
155155
for (const offset of ["1", "0"]) {
156156
const frame = runner(
157157
"ffmpeg",
158-
["-hide_banner", "-y", "-ss", offset, "-i", mp4Path, "-frames:v", "1", "-vf", "scale=640:-1", posterPath],
158+
[
159+
"-hide_banner",
160+
"-y",
161+
"-ss",
162+
offset,
163+
"-i",
164+
mp4Path,
165+
"-frames:v",
166+
"1",
167+
"-vf",
168+
"scale=640:-1",
169+
posterPath,
170+
],
159171
{ cwd: checkout },
160172
);
161173
if (frame.status === 0 && existsSync(posterPath)) break;

0 commit comments

Comments
 (0)