| author | |
| committer | |
| log | d1917b5c3ac9b79425667dc75768e4f75389f635 |
| tree | 3c9ae918f276950fec6146fc9930eaab55b5fedc |
| parent | 3280fc98f3b0400c4ce0b8c54a157f1858490351 |
1 files changed, 1 insertions(+), 1 deletions(-)
src/fmt.zig+1-1| ... | ... | @@ -148,7 +148,7 @@ pub fn run(gpa: Allocator, arena: Allocator, args: []const []const u8) !void { |
| 148 | 148 | defer gpa.free(formatted); |
| 149 | 149 | |
| 150 | 150 | if (check_flag) { |
| 151 | const code: u8 = @intFromBool(mem.eql(u8, formatted, source_code)); | |
| 151 | const code: u8 = @intFromBool(!mem.eql(u8, formatted, source_code)); | |
| 152 | 152 | process.exit(code); |
| 153 | 153 | } |
| 154 | 154 |