Skip to content

Commit

Permalink
gracefully handle missing build file
Browse files Browse the repository at this point in the history
  • Loading branch information
annacrombie committed Nov 15, 2024
1 parent 96170e3 commit 1de57df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/functions/kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1287,6 +1287,9 @@ func_subdir(struct workspace *wk, obj _, obj *res)
{
enum build_language lang;
const char *build_file = determine_build_file(wk, new_cwd.buf, &lang);
if (!build_file) {
goto ret;
}
ret = wk->vm.behavior.eval_project_file(wk, build_file, lang, 0);
}

Expand Down

0 comments on commit 1de57df

Please sign in to comment.