exit non zero on error

This commit is contained in:
Tobias Simetsreiter 2022-11-16 13:05:25 +01:00
parent ae193c08c3
commit eb24c6291a

View file

@ -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);
};
}