mirror of
https://github.com/Hypfer/Valetudo.git
synced 2025-10-26 11:27:27 +00:00
fix(vendor.midea): Add missing return statement
This commit is contained in:
parent
15c1f801ad
commit
52b462517b
@ -596,7 +596,7 @@ class MSmartDummycloud {
|
||||
const target = options?.target ?? "device";
|
||||
const targetTopic = target === "ai" ? this.aiCommandTopic : this.commandTopic;
|
||||
if (targetTopic.includes("<unknown>")) {
|
||||
reject(new Error("No robot connected"));
|
||||
return reject(new Error("No robot connected"));
|
||||
}
|
||||
|
||||
this.pendingRequests[nonce] = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user