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