mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-09 11:40:46 -05:00
exit non zero on error
This commit is contained in:
parent
ae193c08c3
commit
eb24c6291a
1 changed files with 1 additions and 1 deletions
|
@ -621,7 +621,7 @@ const ZiglingStep = struct {
|
|||
|
||||
print("\n{s}Edit exercises/{s} and run this again.{s}", .{ red_text, self.exercise.main_file, reset_text });
|
||||
print("\n{s}To continue from this zigling, use this command:{s}\n {s}zig build {s}{s}\n", .{ red_text, reset_text, bold_text, self.exercise.key(), reset_text });
|
||||
std.os.exit(0);
|
||||
std.os.exit(1);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue