mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-28 01:18:27 +00:00
web/run-worker: add brackets around the case block with a const
Some checks are pending
Some checks are pending
This commit is contained in:
parent
2f6196f6e3
commit
bb8acc8b98
@ -17,7 +17,7 @@ export const startWorker = async ({ worker, workerId, dependsOn, parentId, worke
|
||||
|
||||
switch (worker) {
|
||||
case "remux":
|
||||
case "encode":
|
||||
case "encode": {
|
||||
if (workerArgs.files) {
|
||||
files = workerArgs.files;
|
||||
}
|
||||
@ -48,6 +48,7 @@ export const startWorker = async ({ worker, workerId, dependsOn, parentId, worke
|
||||
itemError(parentId, workerId, "queue.ffmpeg.no_args");
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case "fetch":
|
||||
await runFetchWorker(workerId, parentId, workerArgs.url);
|
||||
|
Loading…
Reference in New Issue
Block a user