typescript
This commit is contained in:
parent
e0572a9353
commit
ebb1afebdb
|
|
@ -111,7 +111,7 @@ function processOutput(output: CommandOutput): ["html" | "text", string] {
|
||||||
content = output
|
content = output
|
||||||
} else if (Array.isArray(output)) {
|
} else if (Array.isArray(output)) {
|
||||||
content = output.join(" ")
|
content = output.join(" ")
|
||||||
} else if (output.html !== undefined) {
|
} else if ("html" in output) {
|
||||||
html = true
|
html = true
|
||||||
content = output.html
|
content = output.html
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user