Skip to content

Commit d5cac29

Browse files
committed
docs: update coverage_excludes example to something more useful
While the current `*.g.dart` example is technically valid, a more useful example would be something like `**/*.g.dart`. The current example only excludes generated files in the root directory where they're rarely placed. The updated `**/*.g.dart` will cover generated files anywhere in the repository, which is probably a lot more helpful to real life scenarios.
1 parent f4ce8ee commit d5cac29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/docs/workflows/flutter_package.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
build:
122122
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
123123
with:
124-
coverage_excludes: '*.g.dart'
124+
coverage_excludes: '**/*.g.dart'
125125
flutter_channel: 'stable'
126126
flutter_version: '3.24.0'
127127
working_directory: 'examples/my_flutter_package'

0 commit comments

Comments
 (0)