deps = get_deps(m, m->dir, "depends", true,
get_or_compile_info);
+ if (!deps) {
+ score->error = tal_fmt(m, "Could not extract dependencies");
+ return;
+ }
+
for (i = 0; deps[i]; i++) {
- if (!strstarts(deps[i], "ccan/"))
+ if (!strstarts(deps[i], "ccan/")) {
+ non_ccan_deps = true;
continue;
+ }
if (!add_dep(m, &m->deps, deps[i], score))
return;