Skip to content

Commit f389e53

Browse files
BraedonWoodingandrewrk
authored andcommittedJun 6, 2018
Add newline to zig fmt error (#1064)
·
0.15.20.3.0
1 parent 212449b commit f389e53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src-self-hosted/main.zig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ fn cmdFmt(allocator: *Allocator, args: []const []const u8) !void {
734734
defer file.close();
735735

736736
const source_code = io.readFileAlloc(allocator, file_path) catch |err| {
737-
try stderr.print("unable to open '{}': {}", file_path, err);
737+
try stderr.print("unable to open '{}': {}\n", file_path, err);
738738
fmt_errors = true;
739739
continue;
740740
};

0 commit comments

Comments
 (0)
Please sign in to comment.