This commit is contained in:
Dylan Conway
2024-11-12 18:17:35 -08:00
committed by snwy
parent cc708ae7d5
commit 61ae03662c

View File

@@ -13023,11 +13023,10 @@ pub const PackageManager = struct {
resolution.fmt(this.lockfile.buffers.string_bytes.items, .posix),
});
}
const entry = this.summary.packages_with_blocked_scripts.getOrPut(this.manager.allocator, name_hash) catch bun.outOfMemory();
if (!entry.found_existing) entry.value_ptr.* = 0;
entry.value_ptr.* += count;
}
const entry = this.summary.packages_with_blocked_scripts.getOrPut(this.manager.allocator, name_hash) catch bun.outOfMemory();
if (!entry.found_existing) entry.value_ptr.* = 0;
entry.value_ptr.* += count;
},
}