Skip to content

Commit e1b2459

Browse files
committed
bug #793 Also skip example files with name starting with underscore (chr-hertel)
This PR was merged into the main branch. Discussion ---------- Also skip example files with name starting with underscore | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Docs? | no | Issues | | License | MIT Basically tailored for excluding files like `examples/huggingface/_model-listing.php` Commits ------- f7914ba Also skip example files with name starting with underscore
2 parents 05e64cb + f7914ba commit e1b2459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/runner

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ $app = (new SingleCommandApplication('Symfony AI Example Runner'))
5151
->name($filter)
5252
->exclude('vendor')
5353
->sortByName()
54-
->notName('bootstrap.php')
54+
->notName(['bootstrap.php', '_[a-z\-]*.php'])
5555
->files();
5656

5757
$io->comment(sprintf('Found %d example(s) to run.', count($examples)));

0 commit comments

Comments
 (0)