diff --git a/src/__tests__/shell-escape.test.ts b/src/__tests__/shell-escape.test.ts index 592beeb..ab02427 100644 --- a/src/__tests__/shell-escape.test.ts +++ b/src/__tests__/shell-escape.test.ts @@ -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)); }); }); diff --git a/src/commands/ffmpeg.ts b/src/commands/ffmpeg.ts index 19b6680..1611896 100644 --- a/src/commands/ffmpeg.ts +++ b/src/commands/ffmpeg.ts @@ -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 }, ); }); diff --git a/src/lib/shell-escape.ts b/src/lib/shell-escape.ts index 608d63d..5d24203 100644 --- a/src/lib/shell-escape.ts +++ b/src/lib/shell-escape.ts @@ -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. *