diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2024-10-30 11:43:47 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-30 11:43:47 +0000 |
| commit | ee76acd665911e2f28d5183b3c0a07a665dbf858 (patch) | |
| tree | ca210a7985dcb2a9487de9bf9a63d69aaedad839 /src | |
| parent | 8312528a873e2b0742c85f8d995d2e453f5d3a10 (diff) | |
| parent | 7e12e37df900e2264a45d65574cda30b9faeedeb (diff) | |
Merge pull request #4427 from laytan/posix-additions
Finish sys/posix with Linux and partial Windows support & clean up other packages as a result
Diffstat (limited to 'src')
| -rw-r--r-- | src/check_builtin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp index 09e558500..42b9e2180 100644 --- a/src/check_builtin.cpp +++ b/src/check_builtin.cpp @@ -1533,6 +1533,10 @@ gb_internal LoadDirectiveResult check_load_directory_directive(CheckerContext *c for (FileInfo fi : list) { LoadFileCache *cache = nullptr; + if (fi.is_dir) { + continue; + } + if (cache_load_file_directive(c, call, fi.fullpath, err_on_not_found, &cache, LoadFileTier_Contents, /*use_mutex*/false)) { array_add(&file_caches, cache); } else { |