Fix orchestrator and adds missing files

This commit is contained in:
Michel Fedde 2025-05-12 11:24:31 +02:00
parent 17c1aae84b
commit 27a036d236
8 changed files with 51 additions and 12 deletions

View file

@ -473,7 +473,7 @@ class Orchestrator {
/**
* @type {Device}
*/
const selectedDevice = this.#devices.values().find((device) => device.name === deviceName)
const selectedDevice = this.#devices.values().find((device) => device.name === deviceName) ?? { name: deviceName }
return {
filepath: path,
@ -771,4 +771,4 @@ const orchestrator = new Orchestrator(evremapPath, logger, support);
prepareProcess(orchestrator);
orchestrator.run()
orchestrator.run()