Skip to content

Commit f5fbc15

Browse files
committed
fix: extract duplicated stripUndefined function to shared utility
1 parent 13fafc5 commit f5fbc15

File tree

6 files changed

+1
-6
lines changed

6 files changed

+1
-6
lines changed

src/config/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ export class ConfigManager {
237237
}
238238
}
239239

240-
241240
/**
242241
* Validate and merge ProxyCheck options
243242
*/

src/services/check.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ export class CheckService extends BaseService {
223223
}
224224
}
225225

226-
227226
/**
228227
* Add blocking logic for single address checks
229228
*/

src/services/listing.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,5 +235,4 @@ export class ListingService extends BaseService {
235235
throw new ProxyCheckValidationError("Invalid list options provided", "options", options);
236236
}
237237
}
238-
239238
}

src/services/rules.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,5 +231,4 @@ export class RulesService extends BaseService {
231231
throw new ProxyCheckValidationError("Invalid rule options provided", "options", options);
232232
}
233233
}
234-
235234
}

src/services/stats.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,5 +211,4 @@ export class StatsService extends BaseService {
211211
throw new ProxyCheckValidationError("Invalid stats options provided", "options", options);
212212
}
213213
}
214-
215214
}

src/utils/object.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ export function stripUndefined<T extends Record<string, unknown>>(obj: T): T {
99
}
1010
}
1111
return result;
12-
}
12+
}

0 commit comments

Comments
 (0)