Bump WebKit (#18784)

Co-authored-by: Ben Grant <ben@bun.sh>
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
This commit is contained in:
Jarred Sumner
2025-04-04 21:14:36 -07:00
committed by GitHub
parent c86097aeb0
commit a1e1f720ed
3 changed files with 29 additions and 4 deletions

View File

@@ -352,9 +352,7 @@ pub const JunitReporter = struct {
try this.contents.appendSlice(bun.default_allocator, "\"");
const elapsed_seconds = elapsed_ms / std.time.ms_per_s;
var time_buf: [32]u8 = undefined;
const time_str = try std.fmt.bufPrint(&time_buf, " time=\"{d}\"", .{elapsed_seconds});
try this.contents.appendSlice(bun.default_allocator, time_str);
try this.contents.writer(bun.default_allocator).print(" time=\"{}\"", .{bun.fmt.trimmedPrecision(elapsed_seconds, 6)});
try this.contents.appendSlice(bun.default_allocator, " file=\"");
try escapeXml(file, this.contents.writer(bun.default_allocator));