| ... | @@ -4523,7 +4523,7 @@ fn fmtPathDir( | ... | @@ -4523,7 +4523,7 @@ fn fmtPathDir( |
| 4523 | | 4523 | |
| 4524 | if (is_dir and (mem.eql(u8, entry.name, "zig-cache") or mem.eql(u8, entry.name, "zig-out"))) continue; | 4524 | if (is_dir and (mem.eql(u8, entry.name, "zig-cache") or mem.eql(u8, entry.name, "zig-out"))) continue; |
| 4525 | | 4525 | |
| 4526 | if (is_dir or entry.kind == .File and mem.endsWith(u8, entry.name, ".zig")) { | 4526 | if (is_dir or entry.kind == .File and (mem.endsWith(u8, entry.name, ".zig") or mem.endsWith(u8, entry.name, ".zon"))) { |
| 4527 | const full_path = try fs.path.join(fmt.gpa, &[_][]const u8{ file_path, entry.name }); | 4527 | const full_path = try fs.path.join(fmt.gpa, &[_][]const u8{ file_path, entry.name }); |
| 4528 | defer fmt.gpa.free(full_path); | 4528 | defer fmt.gpa.free(full_path); |
| 4529 | | 4529 | |