Fix various issues pre-switching-to-bun
diff --git a/src/Unfinished/all.ts b/src/Unfinished/all.ts
index 758947b..cf2c9e4 100644
--- a/src/Unfinished/all.ts
+++ b/src/Unfinished/all.ts
@@ -176,11 +176,12 @@
if (all) {
members.forEach((member) => {
let applies = true;
- filters.forEach((filter) => {
+ for (const filter of filters) {
if (!filter.check(member)) {
applies = false;
+ break;
}
- });
+ }
if (applies) {
affected.push(member);
}
@@ -188,11 +189,12 @@
} else {
members.forEach((member) => {
let applies = false;
- filters.forEach((filter) => {
+ for (const filter of filters) {
if (filter.check(member)) {
applies = true;
+ break;
}
- });
+ }
if (applies) {
affected.push(member);
}