Update Bot (j'ai plus le repo sur GitHub)

Qui c'est la conne qui a delete le repo sur GitHub? C'EST MOIIIII
This commit is contained in:
2026-02-09 14:36:26 +01:00
parent eab4419e12
commit ad2014b7b2
586 changed files with 58986 additions and 25205 deletions

View File

@@ -82,11 +82,7 @@ function getErrorCause(throwStatement) {
}
const causeProperties = errorOptions.properties.filter(
prop =>
prop.type === "Property" &&
prop.key.type === "Identifier" &&
prop.key.name === "cause" &&
!prop.computed, // It is hard to accurately identify the value of computed props
prop => astUtils.getStaticPropertyName(prop) === "cause",
);
const causeProperty = causeProperties.at(-1);