| ... | ... | @@ -240,7 +240,7 @@ pub fn get_module_from_dep(d: *zigmod.Dep, cachepath: string, options: *CollectO |
| 240 | 240 | }; |
| 241 | 241 | }, |
| 242 | 242 | else => { |
| 243 | | var dd = try collect_deps(cachepath, moddir, d.type, options) catch |e| switch (e) { |
| 243 | var dd = collect_deps(cachepath, moddir, d.type, options) catch |e| switch (e) { |
| 244 | 244 | error.ManifestNotFound => { |
| 245 | 245 | if (d.main.len > 0 or d.c_include_dirs.len > 0 or d.c_source_files.len > 0 or d.keep) { |
| 246 | 246 | var mod_from = try zigmod.Module.from(options.alloc, d.*, modpath, options); |
| ... | ... | @@ -264,7 +264,7 @@ pub fn get_module_from_dep(d: *zigmod.Dep, cachepath: string, options: *CollectO |
| 264 | 264 | } |
| 265 | 265 | u.fail("no zig.mod or zigmod.yml found and no override props defined. unable to use add this dependency!", .{}); |
| 266 | 266 | }, |
| 267 | | else => e, |
| 267 | else => |ee| return ee, |
| 268 | 268 | }; |
| 269 | 269 | dd.dep = d.*; |
| 270 | 270 | dd.for_build = d.for_build; |