typescript

This commit is contained in:
Chris Wanstrath 2025-09-28 13:46:27 -07:00
parent e0572a9353
commit ebb1afebdb

View File

@ -111,7 +111,7 @@ function processOutput(output: CommandOutput): ["html" | "text", string] {
content = output
} else if (Array.isArray(output)) {
content = output.join(" ")
} else if (output.html !== undefined) {
} else if ("html" in output) {
html = true
content = output.html
} else {