| ... | @@ -2655,6 +2655,9 @@ fn fmtPathDir( | ... | @@ -2655,6 +2655,9 @@ fn fmtPathDir( |
| 2655 | var dir_it = dir.iterate(); | 2655 | var dir_it = dir.iterate(); |
| 2656 | while (try dir_it.next()) |entry| { | 2656 | while (try dir_it.next()) |entry| { |
| 2657 | const is_dir = entry.kind == .Directory; | 2657 | const is_dir = entry.kind == .Directory; |
| | 2658 | |
| | 2659 | if (is_dir and std.mem.eql(u8, entry.name, "zig-cache")) continue; |
| | 2660 | |
| 2658 | if (is_dir or mem.endsWith(u8, entry.name, ".zig")) { | 2661 | if (is_dir or mem.endsWith(u8, entry.name, ".zig")) { |
| 2659 | const full_path = try fs.path.join(fmt.gpa, &[_][]const u8{ file_path, entry.name }); | 2662 | const full_path = try fs.path.join(fmt.gpa, &[_][]const u8{ file_path, entry.name }); |
| 2660 | defer fmt.gpa.free(full_path); | 2663 | defer fmt.gpa.free(full_path); |