Skip to content

Commit 8350852

Browse files
Bashamegasaschanaz
andauthored
Update src/build/patches.ts
Co-authored-by: Kagami Sascha Rosylight <[email protected]>
1 parent 6e76de9 commit 8350852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build/patches.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ function sanitizeRemovals(obj: unknown): unknown {
408408
}
409409
if (obj && typeof obj === "object") {
410410
const newObj: { [key: string]: unknown } = {};
411-
for (const [key, value] of Object.entries(obj as Record<string, unknown>)) {
411+
for (const [key, value] of Object.entries(obj)) {
412412
if (key !== "name") {
413413
const cleaned = sanitizeRemovals(value);
414414
if (cleaned !== undefined) {

0 commit comments

Comments
 (0)