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)),
|
console.log(JSON.stringify(document)),
|
||||||
new ExecProcessUseCase().call(
|
new ExecProcessUseCase().call(
|
||||||
document.instancePath,
|
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)
|
new ExecInstanceTwinsProcessService(document.instancePath, document)
|
||||||
)
|
)
|
||||||
|
|
|
@ -34,14 +34,14 @@ export class ExecInstanceTwinsProcessService extends TypedEvent<
|
||||||
await this.databaseModel.save();
|
await this.databaseModel.save();
|
||||||
},
|
},
|
||||||
|
|
||||||
async (e) => {
|
async (_) => {
|
||||||
this.databaseModel.status = "ERROR";
|
this.databaseModel.status = "ERROR";
|
||||||
await this.databaseModel.save();
|
await this.databaseModel.save();
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async (error) => {
|
async (_) => {
|
||||||
this.databaseModel.status = "ERROR";
|
this.databaseModel.status = "ERROR";
|
||||||
await this.databaseModel.save();
|
await this.databaseModel.save();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue