| ... | ... | @@ -195,10 +195,10 @@ pub fn run(gpa: Allocator, arena: Allocator, args: []const []const u8) !void { |
| 195 | 195 | for (input_files.items) |file_path| { |
| 196 | 196 | try fmtPath(&fmt, file_path, check_flag, fs.cwd(), file_path); |
| 197 | 197 | } |
| 198 | try fmt.stdout_writer.interface.flush(); |
| 198 | 199 | if (fmt.any_error) { |
| 199 | 200 | process.exit(1); |
| 200 | 201 | } |
| 201 | | try fmt.stdout_writer.interface.flush(); |
| 202 | 202 | } |
| 203 | 203 | |
| 204 | 204 | fn fmtPath(fmt: *Fmt, file_path: []const u8, check_mode: bool, dir: fs.Dir, sub_path: []const u8) !void { |