mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 12:29:07 +00:00
latest
Former-commit-id: 096ec1222ad723d006b0151f10cb0c1b95e2bfd3
This commit is contained in:
@@ -122,7 +122,7 @@ pub const NodeModuleBundle = struct {
|
||||
// Assert we have enough room to add another package
|
||||
std.debug.assert(end < remaining_names.len);
|
||||
entry.value_ptr.* = prev_package_ids_for_name.ptr[0..end];
|
||||
entry.value_ptr.*[end] = package_id;
|
||||
entry.value_ptr.*[end - 1] = package_id;
|
||||
} else {
|
||||
prev_package_ids_for_name = remaining_names[0..1];
|
||||
prev_package_ids_for_name[0] = package_id;
|
||||
|
||||
Reference in New Issue
Block a user