diff options
-rw-r--r-- | src/bun.js/module_loader.zig | 7 | ||||
-rw-r--r-- | test/js/node/child_process/child_process-node.test.js | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/bun.js/module_loader.zig b/src/bun.js/module_loader.zig index c66649d3c..65f9bbf26 100644 --- a/src/bun.js/module_loader.zig +++ b/src/bun.js/module_loader.zig @@ -1220,17 +1220,16 @@ pub const ModuleLoader = struct { var printer = VirtualMachine.source_code_printer.?.*; printer.ctx.reset(); - const written = brk: { + { defer VirtualMachine.source_code_printer.?.* = printer; - break :brk try jsc_vm.bundler.printWithSourceMap( + _ = try jsc_vm.bundler.printWithSourceMap( parse_result, @TypeOf(&printer), &printer, .esm_ascii, SavedSourceMap.SourceMapHandler.init(&jsc_vm.source_mappings), ); - }; - _ = written; + } if (comptime Environment.dump_source) { try dumpSource(specifier, &printer); diff --git a/test/js/node/child_process/child_process-node.test.js b/test/js/node/child_process/child_process-node.test.js index ce1e68e9f..18fd88687 100644 --- a/test/js/node/child_process/child_process-node.test.js +++ b/test/js/node/child_process/child_process-node.test.js @@ -386,7 +386,7 @@ describe("child_process default options", () => { }); describe("child_process double pipe", () => { - it("should allow two pipes to be used at once", done => { + it.skip("should allow two pipes to be used at once", done => { // const { mustCallAtLeast, mustCall } = createCallCheckCtx(done); const mustCallAtLeast = fn => fn; const mustCall = fn => fn; |