Commit f389e53735

Braedon <Braedonww@gmail.com>
2018-06-06 16:45:19
Add newline to zig fmt error (#1064)
1 parent 212449b
Changed files (1)
src-self-hosted
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;
         };