diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2023-01-11 08:23:08 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-11 08:23:08 -0500 |
| commit | e26fc195ef97d27dae0ca34b2bf592ae839ca218 (patch) | |
| tree | 8231413f1423d4085407abd43d97a0c2cd40540a /.github/mtime_cache | |
| parent | e246f06cfbcba98c5fc10442113631d16f2ab6de (diff) | |
chore(ci): checkout less submodules based on job (#17343)
Co-authored-by: Luca Casonato <lucacasonato@users.noreply.github.com>
Diffstat (limited to '.github/mtime_cache')
| -rw-r--r-- | .github/mtime_cache/action.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/mtime_cache/action.js b/.github/mtime_cache/action.js index 803e9b710..37b957a74 100644 --- a/.github/mtime_cache/action.js +++ b/.github/mtime_cache/action.js @@ -151,7 +151,10 @@ async function* ls(dir = "") { case "120000": // Symbolic link. break; case "160000": // Git submodule. - yield* ls(path); + // sometimes we don't checkout all submodules + if (fs.existsSync(path)) { + yield* ls(path); + } break; default: { // Regular file. |
