fix: pass updateWorker to all CLI constructors; add copyToWorkDir plugin
Build / Lint & Test (push) Successful in 13s
Build / Lint & Test (push) Successful in 13s
This commit is contained in:
1 parent
3b7f660058
commit
c604acfe69
6 files changed
+131
-10
No files matched your search
@@ -98,7 +98,7 @@ const buildAudioArgs = (variables) => {
|
||||
// ─── Plugin ───────────────────────────────────────────────────────────────────
|
||||
|
||||
const plugin = async (args) => {
|
||||
const { jobLog, inputFileObj, variables, workDir } = args;
|
||||
const { jobLog, inputFileObj, variables, workDir, updateWorker } = args;
|
||||
|
||||
const inputFile = inputFileObj._id;
|
||||
jobLog(`[transcode2PassX265] Source: ${inputFile}\n`);
|
||||
@@ -178,6 +178,7 @@ const plugin = async (args) => {
|
||||
WorkDir: workDir,
|
||||
jobLog,
|
||||
inputFileObj,
|
||||
updateWorker,
|
||||
});
|
||||
|
||||
const { cliExitCode: pass1Exit } = await pass1Cli.runCli();
|
||||
@@ -209,6 +210,7 @@ const plugin = async (args) => {
|
||||
WorkDir: workDir,
|
||||
jobLog,
|
||||
inputFileObj,
|
||||
updateWorker,
|
||||
});
|
||||
|
||||
const { cliExitCode: pass2Exit } = await pass2Cli.runCli();
|
||||
|
||||
Reference in new issue
Block a user