Commit c9ac60d
Fix docs gulp race condition with dsl target directories
The gulpfile.js glob pattern '../dsl/**/src/main/docs/...' uses **
which recurses into target/ directories created by concurrent builds.
When a test process deletes target/surefire while gulp is scanning,
it causes an ENOENT error that fails the docs build.
Fix by replacing ** with explicit depth patterns:
- dsl/src/main/docs/... for depth-0 (dsl.adoc)
- dsl/{*,*/!(target)}/src/main/docs/... for depth 1-2, excluding
target directories via extglob
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2f4e7f4 commit c9ac60d
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
| 210 | + | |
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
| |||
0 commit comments