Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/__tests__/shell-escape.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ describe("shellEscape", () => {
// to "" — but our parser drops empty quoted segments via the
// `current.length > 0` push gate. That's a known/accepted limitation:
// ffmpeg never takes empty argv elements and the CLI never produces them
// for raw.ffmpeg. Filter the empty out before comparing.
// for ffmpeg. Filter the empty out before comparing.
expect(parse(command)).toEqual(argv.filter((a) => a.length > 0));
});
});
2 changes: 1 addition & 1 deletion src/commands/ffmpeg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default defineCommand({

const job = await steps.step("Submitting", async () => {
return client.jobs.create(
{ type: "raw.ffmpeg", params: { command, timeout: flags.timeout } },
{ type: "ffmpeg", params: { command, timeout: flags.timeout } },
{ signal: controller.signal },
);
});
Expand Down
2 changes: 1 addition & 1 deletion src/lib/shell-escape.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* POSIX shell-escape an argv element for embedding in a single command string.
*
* Used when the CLI joins argv into a `command` field for `raw.ffmpeg` job
* Used when the CLI joins argv into a `command` field for `ffmpeg` job
* submission. The API-side parser implements the matching POSIX rules so
* `argv → shellEscape → join → parse → argv` is lossless.
*
Expand Down