Skip to content

Commit

Permalink
Add newline to zig fmt error (#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
BraedonWooding authored and andrewrk committed Jun 6, 2018
1 parent 212449b commit f389e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-self-hosted/main.zig
Expand Up @@ -734,7 +734,7 @@ fn cmdFmt(allocator: *Allocator, args: []const []const u8) !void {
defer file.close();

const source_code = io.readFileAlloc(allocator, file_path) catch |err| {
try stderr.print("unable to open '{}': {}", file_path, err);
try stderr.print("unable to open '{}': {}\n", file_path, err);
fmt_errors = true;
continue;
};
Expand Down

0 comments on commit f389e53

Please sign in to comment.