Commit 31d8f5c
committed
fix(core): revert Error cause arg — package TS lib is < ES2022 (unbreaks build)
The 2-arg `new Error(msg, { cause })` form needs ES2022 lib; this package
targets lower, so tsc failed TS2554 in the Bundle Analysis build. It was a
gratuitous fix for a non-CI-gated lint rule on pre-existing code — reverted to
the original single-arg throw. The #2661 CEL routing is unchanged.1 parent 1173964 commit 31d8f5c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| |||
0 commit comments