mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Update src/bundler/bundle_v2.zig
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
This commit is contained in:
@@ -7633,7 +7633,7 @@ pub const LinkerContext = struct {
|
||||
|
||||
c.log.addRangeErrorWithNotes(source, record.range, text, notes.items) catch bun.outOfMemory();
|
||||
|
||||
notes.resize(0) catch bun.outOfMemory();
|
||||
notes.clearRetainingCapacity();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user