fixed path
This commit is contained in:
parent
1287625107
commit
d6702185f0
2 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ export class ExecInstanceScenario extends CallbackStrategyWithIdQuery {
|
|||
console.log(JSON.stringify(document)),
|
||||
new ExecProcessUseCase().call(
|
||||
document.instancePath,
|
||||
`python3 $GET_INTERFACES --path ${document.instancePath} --package '${JSON.stringify(document)}'`,
|
||||
`python3 $GET_INTERFACES --path ${document.instancePath.pathNormalize()} --package '${JSON.stringify(document)}'`,
|
||||
"",
|
||||
new ExecInstanceTwinsProcessService(document.instancePath, document)
|
||||
)
|
||||
|
|
|
@ -34,14 +34,14 @@ export class ExecInstanceTwinsProcessService extends TypedEvent<
|
|||
await this.databaseModel.save();
|
||||
},
|
||||
|
||||
async (e) => {
|
||||
async (_) => {
|
||||
this.databaseModel.status = "ERROR";
|
||||
await this.databaseModel.save();
|
||||
}
|
||||
);
|
||||
}
|
||||
},
|
||||
async (error) => {
|
||||
async (_) => {
|
||||
this.databaseModel.status = "ERROR";
|
||||
await this.databaseModel.save();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue