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
@@ -34,7 +34,7 @@ const details = () => ({
|
||||
});
|
||||
|
||||
const plugin = async (args) => {
|
||||
const { jobLog, inputFileObj, variables, workDir } = args;
|
||||
const { jobLog, inputFileObj, variables, workDir, updateWorker } = args;
|
||||
|
||||
const inputFile = inputFileObj._id;
|
||||
jobLog(`[backupSourceAudio] Processing: ${inputFile}\n`);
|
||||
@@ -77,6 +77,7 @@ const plugin = async (args) => {
|
||||
WorkDir: workDir,
|
||||
jobLog,
|
||||
inputFileObj,
|
||||
updateWorker,
|
||||
});
|
||||
|
||||
const { cliExitCode } = await cli.runCli();
|
||||
|
||||
Reference in new issue
Block a user