Skip to content

Commit

Permalink
#15059 follow-up (#15118)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-conway authored Nov 13, 2024
1 parent e945146 commit c5df329
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/install/install.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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;
},
}

Expand Down

0 comments on commit c5df329

Please sign in to comment.