Add newline to zig fmt error (#1064)
This commit is contained in:
parent
212449bc23
commit
f389e53735
@ -734,7 +734,7 @@ fn cmdFmt(allocator: *Allocator, args: []const []const u8) !void {
|
|||||||
defer file.close();
|
defer file.close();
|
||||||
|
|
||||||
const source_code = io.readFileAlloc(allocator, file_path) catch |err| {
|
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;
|
fmt_errors = true;
|
||||||
continue;
|
continue;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user