mirror of
https://github.com/ziglang/zig.git
synced 2024-11-21 11:32:24 +00:00
Remove reason when none is specified
This commit is contained in:
parent
fc6ff3af11
commit
fa5006819f
@ -839,11 +839,10 @@ fn printStepStatus(
|
||||
},
|
||||
.skipped, .skipped_oom => |skip| {
|
||||
try ttyconf.setColor(stderr, .yellow);
|
||||
try stderr.writeAll(" skipped: ");
|
||||
try stderr.writeAll(" skipped");
|
||||
if (s.result_skip_reason) |reason| {
|
||||
try stderr.writeAll(": ");
|
||||
try stderr.writeAll(reason);
|
||||
} else {
|
||||
try stderr.writeAll("Unspecified");
|
||||
}
|
||||
if (skip == .skipped_oom) {
|
||||
try stderr.writeAll(" (not enough memory)");
|
||||
|
Loading…
Reference in New Issue
Block a user