zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit f389e5373580a5a4ac48ccdb8da9dc951c01dee5 (tree)
parent 212449bc231047571ab27af0d1ae112ed0ffea47
Author: Braedon <Braedonww@gmail.com>
Date:   Thu,  7 Jun 2018 00:45:19 +1000

Add newline to zig fmt error (#1064)


Diffstat:
Msrc-self-hosted/main.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src-self-hosted/main.zig b/src-self-hosted/main.zig @@ -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; };