Commit 6591dee
committed
repo: remove an inappropriate use of PASSTHROUGH
This error code is for callbacks where we should act as though the callback was
not set. This is not something that makes sense for a `_foreach` and checking
for that error message to bubble up mostly is happenstance precisely because
this is not an error code we expect in the callback.
As part of removing this, let's also remove a use of foreach as we can open-code
this check.1 parent 34b9a04 commit 6591dee
1 file changed
+9
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2354 | 2354 | | |
2355 | 2355 | | |
2356 | 2356 | | |
2357 | | - | |
2358 | | - | |
2359 | | - | |
2360 | | - | |
2361 | | - | |
2362 | | - | |
2363 | | - | |
2364 | 2357 | | |
2365 | 2358 | | |
2366 | | - | |
| 2359 | + | |
| 2360 | + | |
| 2361 | + | |
2367 | 2362 | | |
2368 | | - | |
2369 | | - | |
| 2363 | + | |
| 2364 | + | |
2370 | 2365 | | |
2371 | | - | |
| 2366 | + | |
| 2367 | + | |
| 2368 | + | |
| 2369 | + | |
2372 | 2370 | | |
2373 | 2371 | | |
2374 | 2372 | | |
| |||
0 commit comments