aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-01-25 01:09:42 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-01-25 01:09:42 -0800
commit0f2c9c9ff38c566f71448a892c640ea01e74f682 (patch)
tree3404402e853bb2155a6bf687b727314aea67662e
parented2a57fcc965befe4d99a0994febc600b997f10c (diff)
downloadbun-0f2c9c9ff38c566f71448a892c640ea01e74f682.tar.gz
bun-0f2c9c9ff38c566f71448a892c640ea01e74f682.tar.zst
bun-0f2c9c9ff38c566f71448a892c640ea01e74f682.zip
Fix "failed to resolve" bug 🫠
-rw-r--r--src/install/lockfile.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/install/lockfile.zig b/src/install/lockfile.zig
index 273aec901..32576751e 100644
--- a/src/install/lockfile.zig
+++ b/src/install/lockfile.zig
@@ -1886,13 +1886,12 @@ pub const Package = extern struct {
const debug = Output.scoped(.Lockfile, true);
pub fn clone(
- this_: *const Lockfile.Package,
+ this: *const Lockfile.Package,
old: *Lockfile,
new: *Lockfile,
package_id_mapping: []PackageID,
cloner: *Cloner,
) !PackageID {
- const this = this_.*;
const old_string_buf = old.buffers.string_bytes.items;
const old_extern_string_buf = old.buffers.extern_strings.items;
var builder_ = new.stringBuilder();