Fixing test failure.
This commit is contained in:
parent
bd5e55480e
commit
3b03515253
|
@ -24,8 +24,10 @@ function process(
|
|||
}
|
||||
for (let match of matches) {
|
||||
const res = processor.process(output, match, opts || {})
|
||||
if (typeof res === "object" && "logs" in res && res.logs) {
|
||||
logs = logs.concat(res.logs)
|
||||
if (typeof res === "object") {
|
||||
if ("logs" in res && res.logs) {
|
||||
logs = logs.concat(res.logs)
|
||||
}
|
||||
output = res.result
|
||||
} else {
|
||||
output = res as string
|
||||
|
|
Loading…
Reference in New Issue