use spaces instead of tab in the last indentation to stay consistent with the inconsistent code style for switch/case

This commit is contained in:
cho 2024-03-11 12:03:32 -07:00
parent 4432eb2b07
commit 89203aefef

View File

@ -142,9 +142,9 @@ class ComfyApi extends EventTarget {
case "execution_cached": case "execution_cached":
this.dispatchEvent(new CustomEvent("execution_cached", { detail: msg.data })); this.dispatchEvent(new CustomEvent("execution_cached", { detail: msg.data }));
break; break;
case "execution_interrupted": case "execution_interrupted":
this.dispatchEvent(new CustomEvent("execution_interrupted", { detail: msg.data })); this.dispatchEvent(new CustomEvent("execution_interrupted", { detail: msg.data }));
break; break;
default: default:
if (this.#registered.has(msg.type)) { if (this.#registered.has(msg.type)) {
this.dispatchEvent(new CustomEvent(msg.type, { detail: msg.data })); this.dispatchEvent(new CustomEvent(msg.type, { detail: msg.data }));