Skip to content

Commit 09aeeca

Browse files
gnodetclaude
andcommitted
Ignore .camel-jbang directories in docs gulp build
The gulp glob pattern dsl/**/src/main/docs/*.adoc scans recursively through the dsl/ tree, racing with camel-jbang-core tests that create/delete .camel-jbang/work directories. Add .camel-jbang to the ignore list alongside target to prevent ENOENT errors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1cff3d0 commit 09aeeca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ const tasks = Array.from(sourcesMap).flatMap(([type, definition]) => {
326326
}
327327
})
328328

329-
return gulp.src(source, { ignore: ['**/target/**'] })
329+
return gulp.src(source, { ignore: ['**/target/**', '**/.camel-jbang/**'] })
330330
.pipe(filterFn)
331331
.pipe(
332332
map((file, done) => {
@@ -409,7 +409,7 @@ const tasks = Array.from(sourcesMap).flatMap(([type, definition]) => {
409409
return done()
410410
}
411411

412-
return gulp.src(source, { ignore: ['**/target/**'] }) // asciidoc files
412+
return gulp.src(source, { ignore: ['**/target/**', '**/.camel-jbang/**'] }) // asciidoc files
413413
.pipe(through2.obj(extractExamples)) // extracted example files
414414
// symlink links from a fixed directory, i.e. we could link to
415415
// the example files from `destination`, that would not work for

0 commit comments

Comments
 (0)