mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 06:03:09 -05:00
Changed error text to bold.
This commit is contained in:
parent
b84a2f5c69
commit
9151557d39
1 changed files with 2 additions and 2 deletions
|
@ -311,7 +311,7 @@ const ZiglingStep = struct {
|
||||||
const output = trimLines(b.allocator, raw_output) catch @panic("OOM");
|
const output = trimLines(b.allocator, raw_output) catch @panic("OOM");
|
||||||
const exercise_output = self.exercise.output;
|
const exercise_output = self.exercise.output;
|
||||||
if (!std.mem.eql(u8, output, self.exercise.output)) {
|
if (!std.mem.eql(u8, output, self.exercise.output)) {
|
||||||
const red = red_dim_text;
|
const red = red_bold_text;
|
||||||
const reset = reset_text;
|
const reset = reset_text;
|
||||||
|
|
||||||
// Override the coloring applied by the printError method.
|
// Override the coloring applied by the printError method.
|
||||||
|
@ -395,7 +395,7 @@ const ZiglingStep = struct {
|
||||||
};
|
};
|
||||||
|
|
||||||
print("\n{s}Edit exercises/{s} and run '{s}' again.{s}\n", .{
|
print("\n{s}Edit exercises/{s} and run '{s}' again.{s}\n", .{
|
||||||
red_text, path, cmd, reset_text,
|
red_bold_text, path, cmd, reset_text,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue