1
0
mirror of https://github.com/actions/labeler synced 2026-05-12 19:21:08 +02:00
This commit is contained in:
David Kale
2020-09-08 13:25:36 -04:00
parent e4246d2b5b
commit 91fcbb0108
4227 changed files with 416837 additions and 457884 deletions

View File

@@ -760,7 +760,10 @@ function _default(j$) {
let checkIsError;
let message;
if (error instanceof _assert.AssertionError) {
if (
error instanceof _assert.AssertionError ||
(error && error.name === _assert.AssertionError.name)
) {
checkIsError = false; // @ts-ignore TODO Possible error: j$.Spec does not have expand property
message = (0, _assertionErrorMessage.default)(error, {