mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 12:51:54 +00:00
Redact secrets in bunfig.toml and npmrc logs (#14919)
This commit is contained in:
@@ -1161,11 +1161,7 @@ pub const TestCommand = struct {
|
||||
js_ast.Stmt.Data.Store.reset();
|
||||
|
||||
if (vm.log.errors > 0) {
|
||||
if (Output.enable_ansi_colors) {
|
||||
vm.log.printForLogLevelWithEnableAnsiColors(Output.errorWriter(), true) catch {};
|
||||
} else {
|
||||
vm.log.printForLogLevelWithEnableAnsiColors(Output.errorWriter(), false) catch {};
|
||||
}
|
||||
vm.log.print(Output.errorWriter()) catch {};
|
||||
vm.log.msgs.clearRetainingCapacity();
|
||||
vm.log.errors = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user