mirror of
https://github.com/github/codeql-action.git
synced 2026-04-27 17:39:15 +00:00
Fix checkExpectedLogMessages not asserting anything on success
This commit is contained in:
@@ -271,6 +271,8 @@ export function checkExpectedLogMessages(
|
||||
t.fail(
|
||||
`Expected\n\n${listify(missingMessages)}\n\nin the logger output, but didn't find it in:\n\n${messages.map((m) => ` - '${m.message}'`).join("\n")}`,
|
||||
);
|
||||
} else {
|
||||
t.pass();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user