From 27250445ed234e25eb3fa03a12e5659dfc1cf3df Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sat, 30 Aug 2025 02:59:59 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- src/bundler/linker_context/postProcessJSChunk.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bundler/linker_context/postProcessJSChunk.zig b/src/bundler/linker_context/postProcessJSChunk.zig index 701e03dd08..af40efca75 100644 --- a/src/bundler/linker_context/postProcessJSChunk.zig +++ b/src/bundler/linker_context/postProcessJSChunk.zig @@ -194,7 +194,7 @@ pub fn postProcessJSChunk(ctx: GenerateChunkCtx, worker: *ThreadPool.Worker, chu .iife => { // Bun does not do arrow function lowering. So the wrapper can be an arrow. if (c.options.global_name.len > 0) { - const global_name_prefix = if (c.options.minify_whitespace) + const global_name_prefix = if (c.options.minify_whitespace) std.fmt.allocPrint(worker.allocator, "var {s}=(()=>{{", .{c.options.global_name}) catch bun.outOfMemory() else std.fmt.allocPrint(worker.allocator, "var {s} = (() => {{\n", .{c.options.global_name}) catch bun.outOfMemory(); @@ -804,7 +804,7 @@ pub fn generateEntryPointTailJS( ), ) catch unreachable; } - + // Return the exports object if it has exports if (ast.exports_ref.isValid()) { stmts.append(