[bun install] Include scripts when lockfile doesn't change

This commit is contained in:
Jarred Sumner
2022-08-03 18:44:54 -07:00
parent 6ef45c9e33
commit e29ef5561f

View File

@@ -4721,7 +4721,7 @@ pub const PackageManager = struct {
.scripts = true,
},
);
manager.lockfile.scripts = lockfile.scripts;
var mapping = try manager.lockfile.allocator.alloc(PackageID, maybe_root.dependencies.len);
std.mem.set(PackageID, mapping, invalid_package_id);