| ... | @@ -263,7 +263,7 @@ fn print_paths(w: fs.File.Writer, mod: u.Module, list: *std.ArrayList([]const u8 | ... | @@ -263,7 +263,7 @@ fn print_paths(w: fs.File.Writer, mod: u.Module, list: *std.ArrayList([]const u8 |
| 263 | } | 263 | } |
| 264 | | 264 | |
| 265 | fn print_deps(w: fs.File.Writer, dir: []const u8, m: u.Module, tabs: i32, array: bool) anyerror!void { | 265 | fn print_deps(w: fs.File.Writer, dir: []const u8, m: u.Module, tabs: i32, array: bool) anyerror!void { |
| 266 | if (m.deps.len == 0 and tabs > 0) { | 266 | if (m.has_no_zig_deps() and tabs > 0) { |
| 267 | try w.print("null", .{}); | 267 | try w.print("null", .{}); |
| 268 | return; | 268 | return; |
| 269 | } | 269 | } |