We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 743c7a3 commit 8b611f7Copy full SHA for 8b611f7
src/build/patches.ts
@@ -378,7 +378,8 @@ export async function readPatch(fileUrl: URL): Promise<any> {
378
function removeNamesDeep(obj: unknown): unknown {
379
if (Array.isArray(obj)) {
380
return obj.map(removeNamesDeep);
381
- } else if (obj && typeof obj === "object") {
+ }
382
+ if (obj && typeof obj === "object") {
383
const newObj: { [key: string]: unknown } = {};
384
for (const [key, value] of Object.entries(obj as Record<string, unknown>)) {
385
if (key !== "name") {
0 commit comments