progress
This commit is contained in:
parent
300a5005ba
commit
2024834d06
1 changed files with 1 additions and 2 deletions
|
@ -17,8 +17,7 @@ export class ExecCalculationInstanceProcessScenario extends CallbackStrategyWith
|
|||
return (await new IsHaveActiveProcessUseCase().call()).map(async () => {
|
||||
const execCommand = `${
|
||||
model.script
|
||||
} --path ${model.instancePath.pathNormalize()} --form ${fileOutPath}`.replace(/[^a-zA-Z0-9s]/g, "");
|
||||
// console.log(execCommand);
|
||||
} --path ${model.instancePath.pathNormalize()} --form ${fileOutPath}`.replace("\n", "");
|
||||
|
||||
await new CreateFileUseCase().call(fileOutPath, Buffer.from(JSON.stringify(model.formBuilder)));
|
||||
await CalculationInstanceDBModel.findById(id).updateOne({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue