mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 11:59:00 +00:00
### What does this PR do? `CompileResult` error message memory was not managed correctly. Fixes #23470 ### How did you verify your code works? Manually
This commit is contained in:
@@ -435,7 +435,7 @@ pub const BuildCommand = struct {
|
||||
};
|
||||
|
||||
if (result != .success) {
|
||||
Output.printErrorln("{s}", .{result.error_message});
|
||||
Output.printErrorln("{s}", .{result.err.slice()});
|
||||
Global.exit(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user