Add newline to zig fmt error (#1064)

This commit is contained in:
Braedon 2018-06-07 00:45:19 +10:00 committed by Andrew Kelley
parent 212449bc23
commit f389e53735

View File

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