ref: use code prettier

This commit is contained in:
leukipp
2025-01-07 16:08:07 +01:00
parent 8d2f3da93e
commit 640156ba87
5 changed files with 193 additions and 252 deletions
+1 -6
View File
@@ -135,12 +135,7 @@ const promptArgs = async (proc) => {
const answer = await read.question(prompt);
const value = (answer.trim() || fallback.match(/[YN]/)[0]).toLowerCase();
if (!["y", "yes"].includes(value)) {
ignore = ignore.concat([
"mqtt_url",
"mqtt_user",
"mqtt_password",
"mqtt_discovery",
]);
ignore = ignore.concat(["mqtt_url", "mqtt_user", "mqtt_password", "mqtt_discovery"]);
}
} else if (key === "check") {
const json = JSON.stringify(args, null, 2);